Bug 581633: [Sirius][CommunicationDiagram] Fix tools label
Update tools label for Duration Observation and Time Observation.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=581633
Change-Id: I759582a933a4984d3d1554fe0e2804eb045411f3
Signed-off-by: Jessy Mallet <jessy.mallet@obeo.fr>
diff --git a/plugins/uml/org.eclipse.papyrus.sirius.uml.diagram.communication/description/papyrus_communication.odesign b/plugins/uml/org.eclipse.papyrus.sirius.uml.diagram.communication/description/papyrus_communication.odesign
index 71bf1ba..7cb7e5d 100644
--- a/plugins/uml/org.eclipse.papyrus.sirius.uml.diagram.communication/description/papyrus_communication.odesign
+++ b/plugins/uml/org.eclipse.papyrus.sirius.uml.diagram.communication/description/papyrus_communication.odesign
@@ -84,14 +84,14 @@
<firstModelOperations xsi:type="tool_1:ChangeContext" browseExpression="aql:container.createElement('uml::Constraint','ownedRule',containerView)"/>
</initialOperation>
</ownedTools>
- <ownedTools xsi:type="tool:NodeCreationDescription" name="CreateDurationObservationTool" label="DurationObservation" precondition="aql:not(containerView.oclIsKindOf(viewpoint::DRepresentation)) and container.canCreateObservationCOD(uml::DurationObservation,'packagedElement')" nodeMappings="//@ownedViewpoints[name='CommunicationDiagram']/@ownedRepresentations[name='CommunicationDiagram']/@defaultLayer/@nodeMappings[name='COD_DurationObservation']">
+ <ownedTools xsi:type="tool:NodeCreationDescription" name="CreateDurationObservationTool" label="Duration Observation" precondition="aql:not(containerView.oclIsKindOf(viewpoint::DRepresentation)) and container.canCreateObservationCOD(uml::DurationObservation,'packagedElement')" nodeMappings="//@ownedViewpoints[name='CommunicationDiagram']/@ownedRepresentations[name='CommunicationDiagram']/@defaultLayer/@nodeMappings[name='COD_DurationObservation']">
<variable name="container"/>
<viewVariable name="containerView"/>
<initialOperation>
<firstModelOperations xsi:type="tool_1:ChangeContext" browseExpression="aql:container.createObservationCOD('uml::DurationObservation','packagedElement',containerView)"/>
</initialOperation>
</ownedTools>
- <ownedTools xsi:type="tool:NodeCreationDescription" name="CreateTimeObservationTool" label="TimeObservation" precondition="aql:not(containerView.oclIsKindOf(viewpoint::DRepresentation)) and container.canCreateObservationCOD(uml::TimeObservation,'packagedElement')" nodeMappings="//@ownedViewpoints[name='CommunicationDiagram']/@ownedRepresentations[name='CommunicationDiagram']/@defaultLayer/@nodeMappings[name='COD_TimeObservation']">
+ <ownedTools xsi:type="tool:NodeCreationDescription" name="CreateTimeObservationTool" label="Time Observation" precondition="aql:not(containerView.oclIsKindOf(viewpoint::DRepresentation)) and container.canCreateObservationCOD(uml::TimeObservation,'packagedElement')" nodeMappings="//@ownedViewpoints[name='CommunicationDiagram']/@ownedRepresentations[name='CommunicationDiagram']/@defaultLayer/@nodeMappings[name='COD_TimeObservation']">
<variable name="container"/>
<viewVariable name="containerView"/>
<initialOperation>