Bug 491961 - [SysML 1.4][IBD] Impossible to create an Actor Part
- add the missing graphical element type
- reference the new element type in the palette
Change-Id: Ie6d39fdd754e50c8130c7bf79a17b5cf83e69aa5
Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14CompositeDiagram-extension.elementtypesconfigurations b/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14CompositeDiagram-extension.elementtypesconfigurations
index aeebe5b..bc9f5c7 100644
--- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14CompositeDiagram-extension.elementtypesconfigurations
+++ b/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14CompositeDiagram-extension.elementtypesconfigurations
@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:stereotypematcher="http://www.eclipse.org/papyrus/uml/types/stereotypematcher/1.1" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="org.eclipse.papyrus.sysml14.service.types.elementTypeSet.composite.extension" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML" name="SysML" xmi:id="_Qt9c4Mv4EeS5BpE3hOblyw" xmi:version="2.0">
+ <elementTypeConfigurations hint="Property_Shape" identifier="org.eclipse.papyrus.sysmldi.ActorPart_Property_Shape" name="ActorPart (Property_Shape)" xmi:id="_ele1QE_tEeWS1Mofp4ST9Q" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Property.gif" xmi:id="_elfcUE_tEeWS1Mofp4ST9Q"/>
+ <specializedTypesID>org.eclipse.papyrus.SysML14.ActorPart</specializedTypesID>
+ <specializedTypesID>org.eclipse.papyrus.umldi.Property_Shape</specializedTypesID>
+ <editHelperAdviceConfiguration editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.ActorPartGraphicalEditHelperAdvice" xmi:id="_elfcUU_tEeWS1Mofp4ST9Q" xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration"/>
+ <matcherConfiguration matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher" xmi:id="_y-4fUIe8EeW05oI_3tpDGw" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
+ </elementTypeConfigurations>
<elementTypeConfigurations hint="Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ActorPart_Property_AttributeLabel" name="ActorPart" xmi:id="_S5YwwB_5EeWp9rJ2gmw59A" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
<iconEntry bundleId="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Property.gif" xmi:id="_S5YwwR_5EeWp9rJ2gmw59A"/>
<specializedTypesID>org.eclipse.papyrus.SysML14.ActorPart</specializedTypesID>
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
index a65b741..305e615 100644
--- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration
+++ b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration
@@ -17,6 +17,7 @@
pluginID="org.eclipse.uml2.uml.edit"
iconPath="icons/full/obj16/Property.gif"/>
<elementDescriptors elementTypeId="org.eclipse.papyrus.sysmldi.ActorPart_Property_AttributeLabel"/>
+ <elementDescriptors elementTypeId="org.eclipse.papyrus.sysmldi.ActorPart_Property_Shape"/>
</ownedConfigurations>
<ownedConfigurations
xsi:type="paletteconfiguration:ToolConfiguration"