Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael ADAM2014-10-01 11:35:56 -0400
committerMickael ADAM2014-10-10 04:55:45 -0400
commitc81315c3dd6c819976e5de03539f75cbccaf2188 (patch)
tree549dc00e5693890263dd0ddf675b5e884944b9cd
parent54361511a2bdfcc89c44e5cec0e8920217f62797 (diff)
downloadorg.eclipse.papyrus-c81315c3dd6c819976e5de03539f75cbccaf2188.tar.gz
org.eclipse.papyrus-c81315c3dd6c819976e5de03539f75cbccaf2188.tar.xz
org.eclipse.papyrus-c81315c3dd6c819976e5de03539f75cbccaf2188.zip
445844: [Diagram] Activity diagram shapes shall be refactored
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=445844 Patch set 1 -Apply RoundedRectancle to BroadCastSignalAction AddVariableValueAction ActivityPartition(No external label) InterruptibleActivityRegion(No external label) -Add borderStyle CSS property to set the style of the border(dash, dashDot, dashDotDot, dot, solid) Patch set 2 -Fix on InterruptibleActivityRegion Patch set 3 -Apply RoundedRectancle to ExpansionRegionEditPart (No external label) ConditionalNodeEditPart (No external label) LoopNodeEditPart (No external label) SequenceNodeEditPart (No external label) StructuredActivityNodeEditPart (No external label) CallBehaviorActionEditPart AddStructuralFeatureValueAction CallOperationAction CreateObjectAction DestroyObjectAction OpaqueAction ReadSelfAction ReadStructuralFeatureAction ReadVariableAction SendObjectAction ValueSpecificationAction Patch set 3 -Apply RoundedRectancle to CentralBufferNode DataStoreNode =>bug to fix feedback of selection don't fallow SVGNodePlate Patch set 4 -Apply RoundedRectancle to ActivityParameterNode(No external label) Patch set 5 -Apply RoundedRectancle to Activity(No external label) ActivityCN(No external label) Note: tried to delete generated NOT for CentralBufferNode, DataStoreNode, and ActivityParameterNode Change-Id: I34a0fbcd55d33012780c5061bb4cef5727dd30d7 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
-rw-r--r--plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.xtext/xtend-gen/org/eclipse/papyrus/infra/gmfdiag/generator/CSSGenerator.java3
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/IRoundedRectangleFigure.java214
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/RoundedRectangleNodePlateFigure.java42
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/RoundedRectangleShadowBorder.java75
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/draw2d/StructuredActivityNodeFigure.java332
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityEditPart.java119
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityEditPartCN.java119
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityParameterNodeEditPart.java80
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityPartitionEditPart.java41
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomAddStructuralFeatureValueActionEditPart.java110
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomAddVariableValueActionEditPart.java113
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomBroadcastSignalActionEditPart.java109
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCallBehaviorActionEditPart.java83
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCallOperationActionEditPart.java109
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCentralBufferNodeEditPart.java103
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomConditionalNodeEditPart.java127
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCreateObjectActionEditPart.java109
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomDataStoreNodeEditPart.java103
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomDestroyObjectActionEditPart.java109
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomExpansionRegionEditPart.java127
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomInterruptibleActivityRegionEditPart.java115
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomLoopNodeEditPart.java127
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomOpaqueActionEditPart.java109
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomReadSelfActionEditPart.java109
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomReadStructuralFeatureActionEditPart.java109
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomReadVariableActionEditPart.java109
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomSendObjectActionEditPart.java109
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomSequenceNodeEditPart.java127
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomStructuredActivityNodeEditPart.java127
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomUMLEditPartFactory.java371
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomValueSpecificationActionEditPart.java109
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/RoundedUMLNodeEditPart.java287
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/ActivityFigure.java968
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/ActivityPartitionFigure.java112
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/CallBehaviorActionFigure.java118
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/InterruptibleActivityRegionFigure.java493
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/model/activityDiagram.gmfgen21551
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/plugin.xml3408
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ActivityEditPart.java966
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ActivityEditPartCN.java950
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ActivityParameterNodeEditPart.java2587
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ActivityPartitionEditPart.java783
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/AddStructuralFeatureValueActionEditPart.java3124
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/AddStructuralFeatureValueActionFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/AddVariableValueActionEditPart.java3081
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/AddVariableValueActionFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/BroadcastSignalActionEditPart.java2950
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/BroadcastSignalActionFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/CallBehaviorActionEditPart.java3153
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/CallBehaviorActionFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/CallOperationActionEditPart.java3102
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/CallOperationActionFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/CentralBufferNodeEditPart.java2526
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/CentralBufferNodeFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ConditionalNodeEditPart.java2930
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/CreateObjectActionEditPart.java2990
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/CreateObjectActionFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/DataStoreNodeEditPart.java2558
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/DataStoreNodeFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/DestroyObjectActionEditPart.java2916
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/DestroyObjectActionFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ExpansionRegionEditPart.java3000
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/InterruptibleActivityRegionEditPart.java620
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/LoopNodeEditPart.java3040
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/OpaqueActionEditPart.java3036
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/OpaqueActionFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ReadSelfActionEditPart.java2948
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ReadSelfActionFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ReadStructuralFeatureActionEditPart.java3070
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ReadStructuralFeatureActionFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ReadVariableActionEditPart.java3014
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ReadVariableActionFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/SendObjectActionEditPart.java3082
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/SendObjectActionFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/SequenceNodeEditPart.java2920
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/StructuredActivityNodeEditPart.java2920
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/UMLEditPartFactory.java1490
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ValueSpecificationActionEditPart.java2974
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/edit/parts/ValueSpecificationActionFloatingNameEditPart.java805
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/part/UMLVisualIDRegistry.java8676
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/providers/UMLParserProvider.java6942
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/src/org/eclipse/papyrus/uml/diagram/activity/providers/UMLViewProvider.java6928
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/RoundedBorderNamedElementEditPart.java271
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/RoundedCompartmentEditPart.java248
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/figure/node/AutomaticCompartmentLayoutManager.java21
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/figure/node/RoundedCompartmentFigure.java86
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.interactionoverview/src/org/eclipse/papyrus/uml/diagram/interactionoverview/figures/ActivityAsInteractionFigure.java390
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.interactionoverview/src/org/eclipse/papyrus/uml/diagram/interactionoverview/figures/InteractionUseFigure.java274
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.interactionoverview/src/org/eclipse/papyrus/uml/diagram/interactionoverview/figures/InteractionWithSnapshotFigure.java254
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.collaborationuse.xtext/xtend-gen/org/eclipse/papyrus/uml/textedit/collaborationuse/xtext/generator/UmlCollaborationUseGenerator.java5
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.common.xtext/xtend-gen/org/eclipse/papyrus/uml/textedit/common/xtext/generator/UmlCommonGenerator.java5
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/xtend-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/generator/UMLConnectionPointReferenceGenerator.java5
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.message.xtext/xtend-gen/org/eclipse/papyrus/uml/textedit/message/xtext/generator/UmlMessageGenerator.java5
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.parameter.xtext/xtend-gen/org/eclipse/papyrus/uml/textedit/parameter/xtext/generator/UmlParameterGenerator.java5
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.port.xtext/xtend-gen/org/eclipse/papyrus/uml/textedit/port/xtext/generator/UmlPortGenerator.java7
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.property.xtext/xtend-gen/org/eclipse/papyrus/uml/textedit/property/xtext/generator/UmlPropertyGenerator.java11
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.state.xtext/xtend-gen/org/eclipse/papyrus/uml/textedit/state/xtext/generator/UmlStateGenerator.java5
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.stereotypeproperty.xtext/xtend-gen/org/eclipse/papyrus/uml/textedit/stereotypeproperty/xtext/generator/AppliedStereotypePropertyGenerator.java5
98 files changed, 81604 insertions, 52029 deletions
diff --git a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.xtext/xtend-gen/org/eclipse/papyrus/infra/gmfdiag/generator/CSSGenerator.java b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.xtext/xtend-gen/org/eclipse/papyrus/infra/gmfdiag/generator/CSSGenerator.java
index a076db98ff3..6c408b5849f 100644
--- a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.xtext/xtend-gen/org/eclipse/papyrus/infra/gmfdiag/generator/CSSGenerator.java
+++ b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.xtext/xtend-gen/org/eclipse/papyrus/infra/gmfdiag/generator/CSSGenerator.java
@@ -9,7 +9,6 @@ import org.eclipse.xtext.generator.IGenerator;
@SuppressWarnings("all")
public class CSSGenerator implements IGenerator {
- @Override
-public void doGenerate(final Resource resource, final IFileSystemAccess fsa) {
+ public void doGenerate(final Resource resource, final IFileSystemAccess fsa) {
}
}
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/IRoundedRectangleFigure.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/IRoundedRectangleFigure.java
index bd2644eeab0..f45f8527e09 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/IRoundedRectangleFigure.java
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/IRoundedRectangleFigure.java
@@ -1,106 +1,108 @@
-/*****************************************************************************
- * Copyright (c) 2010, 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:
- * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.gmfdiag.common.figure.node;
-
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.geometry.Dimension;
-import org.eclipse.draw2d.geometry.Rectangle;
-
-/**
- * An interface for figures which have a rounded rectangle shape and need to
- * provide a connection anchor and a floating Name.
- *
- */
-public interface IRoundedRectangleFigure extends IFigure {
-
- /**
- * Returns the rounded rectangles corner dimensions.
- *
- * @return the corner dimensions
- */
- Dimension getCornerDimensions();
-
- /**
- * Sets the rounded rectangles corner dimensions.
- *
- * @param CornerDimension
- * the new corner dimensions
- */
- void setCornerDimensions(Dimension CornerDimension);
-
- // /**
- // * Sets the height of rounded rectangles corner dimensions.
- // *
- // */
- // void setRadiusWidth(int width);
- //
- // /**
- // * Sets the height of rounded rectangles corner dimensions.
- // *
- // */
- // void setRadiusHeight(int height);
-
- /**
- * Returns the rounded rectangles bounds.
- *
- * @return the bounds
- */
- Rectangle getRoundedRectangleBounds();
-
- /**
- * Sets if the shape must be oval.
- *
- * @param isOval
- * the new oval
- */
- void setOval(boolean isOval);
-
- /**
- * Returns true if the shape is forced to be oval.
- *
- * @return isOval
- */
- boolean isOval();
-
- /**
- * Sets true if the floating name must be constrained.
- *
- * @param isConstrained
- * the new floating name constrained
- */
- void setFloatingNameConstrained(boolean isConstrained);
-
- /**
- * Returns true if the floating name is constrained.
- *
- * @return isAttached
- */
- boolean isFloatingNameConstrained();
-
- /**
- * Sets the floating Name offset for not constrained case.
- *
- * @param offset
- * the new floating name offset
- */
- void setFloatingNameOffset(Dimension offset);
-
-
- /**
- * Returns the offset of the floating Name offset for not constrained case.
- *
- * @return the offset
- */
- Dimension getFloatingNameOffset();
-
-}
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.infra.gmfdiag.common.figure.node;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.draw2d.geometry.Rectangle;
+
+/**
+ * An interface for figures which have a rounded rectangle shape and need to
+ * provide a connection anchor and a floating Name.
+ *
+ */
+public interface IRoundedRectangleFigure extends IFigure {
+
+ /**
+ * Returns the rounded rectangles corner dimensions.
+ *
+ * @return the corner dimensions
+ */
+ Dimension getCornerDimensions();
+
+ /**
+ * Sets the rounded rectangles corner dimensions.
+ *
+ * @param CornerDimension
+ * the new corner dimensions
+ */
+ void setCornerDimensions(Dimension CornerDimension);
+
+ // /**
+ // * Sets the height of rounded rectangles corner dimensions.
+ // *
+ // */
+ // void setRadiusWidth(int width);
+ //
+ // /**
+ // * Sets the height of rounded rectangles corner dimensions.
+ // *
+ // */
+ // void setRadiusHeight(int height);
+
+ /**
+ * Returns the rounded rectangles bounds.
+ *
+ * @return the bounds
+ */
+ Rectangle getRoundedRectangleBounds();
+
+ /**
+ * Sets if the shape must be oval.
+ *
+ * @param isOval
+ * the new oval
+ */
+ void setOval(boolean isOval);
+
+ /**
+ * Returns true if the shape is forced to be oval.
+ *
+ * @return isOval
+ */
+ boolean isOval();
+
+ /**
+ * Sets true if the floating name must be constrained.
+ *
+ * @param isConstrained
+ * the new floating name constrained
+ */
+ void setFloatingNameConstrained(boolean isConstrained);
+
+ /**
+ * Returns true if the floating name is constrained.
+ *
+ * @return isAttached
+ */
+ boolean isFloatingNameConstrained();
+
+ /**
+ * Sets the floating Name offset for not constrained case.
+ *
+ * @param offset
+ * the new floating name offset
+ */
+ void setFloatingNameOffset(Dimension offset);
+
+
+ /**
+ * Returns the offset of the floating Name offset for not constrained case.
+ *
+ * @return the offset
+ */
+ Dimension getFloatingNameOffset();
+
+ public void setBorderStyle(int borderStyle);
+
+}
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/RoundedRectangleNodePlateFigure.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/RoundedRectangleNodePlateFigure.java
index cac0889713e..e1ce608ccbc 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/RoundedRectangleNodePlateFigure.java
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/RoundedRectangleNodePlateFigure.java
@@ -32,7 +32,7 @@ public class RoundedRectangleNodePlateFigure extends DefaultSizeNodeFigure imple
* Instantiates a new rounded rectangle node plate figure.
*
* @param defSize
- * the def size
+ * the def size
*/
public RoundedRectangleNodePlateFigure(Dimension defSize) {
super(defSize);
@@ -42,9 +42,9 @@ public class RoundedRectangleNodePlateFigure extends DefaultSizeNodeFigure imple
* Instantiates a new rounded rectangle node plate figure.
*
* @param width
- * the width
+ * the width
* @param height
- * the height
+ * the height
*/
public RoundedRectangleNodePlateFigure(int width, int height) {
super(width, height);
@@ -56,11 +56,11 @@ public class RoundedRectangleNodePlateFigure extends DefaultSizeNodeFigure imple
* @return the RoundedCompartment figure
*/
public IRoundedRectangleFigure getRoundedCompartmentFigure() {
- if(getChildren().size() > 0 && getChildren().get(0) instanceof IRoundedRectangleFigure) {
- return (IRoundedRectangleFigure)getChildren().get(0);
+ if (getChildren().size() > 0 && getChildren().get(0) instanceof IRoundedRectangleFigure) {
+ return (IRoundedRectangleFigure) getChildren().get(0);
}
- if(svgNodePlateFigure != null && svgNodePlateFigure.getChildren().size() > 0 && svgNodePlateFigure.getChildren().get(0) instanceof IRoundedRectangleFigure) {
- return (IRoundedRectangleFigure)svgNodePlateFigure.getChildren().get(0);
+ if (svgNodePlateFigure != null && svgNodePlateFigure.getChildren().size() > 0 && svgNodePlateFigure.getChildren().get(0) instanceof IRoundedRectangleFigure) {
+ return (IRoundedRectangleFigure) svgNodePlateFigure.getChildren().get(0);
}
return null;
}
@@ -91,7 +91,7 @@ public class RoundedRectangleNodePlateFigure extends DefaultSizeNodeFigure imple
* Sets the SVG node plate container.
*
* @param svgNodePlateFigure
- * the new SVG node plate container
+ * the new SVG node plate container
* @see org.eclipse.papyrus.infra.gmfdiag.common.figure.node.ICustomNodePlate#setSVGNodePlateContainer(org.eclipse.papyrus.uml.diagram.common.figure.node.SVGNodePlateFigure)
*/
@Override
@@ -115,12 +115,12 @@ public class RoundedRectangleNodePlateFigure extends DefaultSizeNodeFigure imple
* reference's coordinates and bounds of the figure.
*
* @param p
- * - relative reference for the <Code>SlidableAnchor</Code>
+ * - relative reference for the <Code>SlidableAnchor</Code>
* @return a <code>SlidableAnchor</code> for this figure with relative reference at p
*/
@Override
protected ConnectionAnchor createAnchor(PrecisionPoint p) {
- if(p == null)
+ if (p == null)
// If the old terminal for the connection anchor cannot be resolved (by SlidableAnchor) a null
// PrecisionPoint will passed in - this is handled here
return createDefaultAnchor();
@@ -144,7 +144,7 @@ public class RoundedRectangleNodePlateFigure extends DefaultSizeNodeFigure imple
* @param dimension
*/
@Override
- //unused
+ // unused
public void setCornerDimensions(Dimension dimension) {
getRoundedCompartmentFigure().setCornerDimensions(dimension);
}
@@ -155,7 +155,7 @@ public class RoundedRectangleNodePlateFigure extends DefaultSizeNodeFigure imple
* @param booleanValue
*/
@Override
- //unused
+ // unused
public void setOval(boolean booleanValue) {
getRoundedCompartmentFigure().setOval(booleanValue);
}
@@ -166,7 +166,7 @@ public class RoundedRectangleNodePlateFigure extends DefaultSizeNodeFigure imple
* @return
*/
@Override
- //unused
+ // unused
public boolean isOval() {
return getRoundedCompartmentFigure().isOval();
}
@@ -177,7 +177,7 @@ public class RoundedRectangleNodePlateFigure extends DefaultSizeNodeFigure imple
* @param booleanValue
*/
@Override
- //unused
+ // unused
public void setFloatingNameConstrained(boolean booleanValue) {
}
@@ -187,7 +187,7 @@ public class RoundedRectangleNodePlateFigure extends DefaultSizeNodeFigure imple
* @return
*/
@Override
- //unused
+ // unused
public boolean isFloatingNameConstrained() {
return false;
}
@@ -198,7 +198,7 @@ public class RoundedRectangleNodePlateFigure extends DefaultSizeNodeFigure imple
* @param offset
*/
@Override
- //unused
+ // unused
public void setFloatingNameOffset(Dimension offset) {
}
@@ -212,4 +212,14 @@ public class RoundedRectangleNodePlateFigure extends DefaultSizeNodeFigure imple
public Dimension getFloatingNameOffset() {
return null;
}
+
+ /**
+ * @see org.eclipse.papyrus.infra.gmfdiag.common.figure.node.IRoundedRectangleFigure#setBorderStyle(int)
+ *
+ * @param borderStyle
+ */
+ @Override
+ public void setBorderStyle(int borderStyle) {
+ // unused
+ }
}
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/RoundedRectangleShadowBorder.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/RoundedRectangleShadowBorder.java
index 1ff9d6a9970..8d50ff6531f 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/RoundedRectangleShadowBorder.java
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/figure/node/RoundedRectangleShadowBorder.java
@@ -38,9 +38,9 @@ public class RoundedRectangleShadowBorder extends RectangularShadowBorder {
* Instantiates a new rounded rectangle shadow border.
*
* @param color
- * the color
+ * the color
* @param cornerDimension
- * the corner dimension
+ * the corner dimension
*/
public RoundedRectangleShadowBorder(Color color, Dimension cornerDimension) {
super(3, color);
@@ -53,7 +53,7 @@ public class RoundedRectangleShadowBorder extends RectangularShadowBorder {
* Method for determining the inset the border will take up on the shape.
*
* @param figure
- * Figure that will be inset from the border
+ * Figure that will be inset from the border
* @return Insets the Insets for the border on the given figure.
*/
@Override
@@ -70,36 +70,39 @@ public class RoundedRectangleShadowBorder extends RectangularShadowBorder {
* Paint the figure on the graphics.
*
* @param figure
- * the figure
+ * the figure
* @param graphics
- * the graphics
+ * the graphics
* @param insets
- * the insets
+ * the insets
* @see org.eclipse.draw2d.Border#paint(IFigure, Graphics, Insets)
*/
@Override
public void paint(IFigure figure, Graphics graphics, Insets insets) {
graphics.pushState();
+
// draw the normal line border
tempRect.setBounds(getPaintRectangle(figure, insets));
- //Take into account the line width
+ // Take into account the line width
tempRect.x += getWidth() / 2;
tempRect.y += getWidth() / 2;
tempRect.width -= getWidth();
tempRect.height -= getWidth();
- //Set the arc dimension from the corner dimension of the figure
- if(figure instanceof IRoundedRectangleFigure) {
- cornerDimension.width = ((IRoundedRectangleFigure)figure).getCornerDimensions().width;
- cornerDimension.height = ((IRoundedRectangleFigure)figure).getCornerDimensions().height;
+ // Set the arc dimension from the corner dimension of the figure
+ if (figure instanceof IRoundedRectangleFigure) {
+ cornerDimension.width = ((IRoundedRectangleFigure) figure).getCornerDimensions().width;
+ cornerDimension.height = ((IRoundedRectangleFigure) figure).getCornerDimensions().height;
}
graphics.setLineWidth(getWidth());
- //Set the color of the shadow
- if(getColor() != null) {
+ // Set the color of the shadow
+ if (getColor() != null) {
graphics.setBackgroundColor(getColor());
} else {
graphics.setBackgroundColor(ColorConstants.black);
}
+ graphics.setLineStyle(getStyle());
graphics.drawRoundRectangle(tempRect, cornerDimension.width, cornerDimension.height);
+ graphics.setLineStyle(Graphics.LINE_SOLID);
// draw the shadow
// first expand the clip rectangle
Rectangle newRect = new Rectangle(tempRect);
@@ -108,36 +111,38 @@ public class RoundedRectangleShadowBorder extends RectangularShadowBorder {
newRect.x += borderwidth;
newRect.y += borderwidth;
graphics.setClip(newRect);
- if(cornerDimension.width != 0 || cornerDimension.height != 0) {
- //Adapt arc width
- if(cornerDimension.width > tempRect.width)
+ if (cornerDimension.width != 0 || cornerDimension.height != 0) {
+ // Adapt arc width
+ if (cornerDimension.width > tempRect.width)
cornerDimension.width = tempRect.width;
- //Adapt arc height
- if(cornerDimension.height > tempRect.height)
+ // Adapt arc height
+ if (cornerDimension.height > tempRect.height)
cornerDimension.height = tempRect.height;
- //Right Top corner
- graphics.drawArc(tempRect.x + tempRect.width - cornerDimension.width + borderwidth, tempRect.y, cornerDimension.width - 1, cornerDimension.height, -5, 45); //-5,70);
- graphics.drawArc(tempRect.x + tempRect.width - cornerDimension.width + borderwidth, tempRect.y, cornerDimension.width - 2, cornerDimension.height, -5, 45); //-5,70);
- graphics.drawArc(tempRect.x + tempRect.width - cornerDimension.width + borderwidth, tempRect.y, cornerDimension.width - 3, cornerDimension.height, -5, 45); //-5,70);
+ // Right Top corner
+ graphics.drawArc(tempRect.x + tempRect.width - cornerDimension.width + borderwidth, tempRect.y, cornerDimension.width - 1, cornerDimension.height, -5, 45); // -5,70);
+ graphics.drawArc(tempRect.x + tempRect.width - cornerDimension.width + borderwidth, tempRect.y, cornerDimension.width - 2, cornerDimension.height, -5, 45); // -5,70);
+ graphics.drawArc(tempRect.x + tempRect.width - cornerDimension.width + borderwidth, tempRect.y, cornerDimension.width - 3, cornerDimension.height, -5, 45); // -5,70);
// Left Bottom corner
- graphics.drawArc(tempRect.x, tempRect.y + borderwidth + tempRect.height - cornerDimension.height, cornerDimension.width, cornerDimension.height - 1, 210, 65); //210, 65);
- graphics.drawArc(tempRect.x, tempRect.y + borderwidth + tempRect.height - cornerDimension.height, cornerDimension.width, cornerDimension.height - 2, 210, 65); //210, 65);
- graphics.drawArc(tempRect.x, tempRect.y + borderwidth + tempRect.height - cornerDimension.height, cornerDimension.width, cornerDimension.height - 3, 210, 65); //210, 65);
- //Right bottom corner
+ graphics.drawArc(tempRect.x, tempRect.y + borderwidth + tempRect.height - cornerDimension.height, cornerDimension.width, cornerDimension.height - 1, 210, 65); // 210, 65);
+ graphics.drawArc(tempRect.x, tempRect.y + borderwidth + tempRect.height - cornerDimension.height, cornerDimension.width, cornerDimension.height - 2, 210, 65); // 210, 65);
+ graphics.drawArc(tempRect.x, tempRect.y + borderwidth + tempRect.height - cornerDimension.height, cornerDimension.width, cornerDimension.height - 3, 210, 65); // 210, 65);
+ // Right bottom corner
int tmpWidth = getWidth();
- graphics.setLineWidthFloat((float)(borderwidth - 0.5));
- //graphics.drawArc(tempRect.x + tempRect.width - arc.width + borderwidth, tempRect.y + borderwidth + tempRect.height - arc.height, arc.width - 1, arc.height - 1, 270, 90);
- graphics.drawArc(tempRect.x + tempRect.width - cornerDimension.width + borderwidth, tempRect.y + borderwidth + tempRect.height - cornerDimension.height + getWidth() / 2, cornerDimension.width - 2 + getWidth() / 2, cornerDimension.height - 2, 270, 95);
+ graphics.setLineWidthFloat((float) (borderwidth - 0.5));
+ // graphics.drawArc(tempRect.x + tempRect.width - arc.width + borderwidth, tempRect.y + borderwidth + tempRect.height - arc.height, arc.width - 1, arc.height - 1, 270, 90);
+ graphics.drawArc(tempRect.x + tempRect.width - cornerDimension.width + borderwidth, tempRect.y + borderwidth + tempRect.height - cornerDimension.height + getWidth() / 2, cornerDimension.width - 2 + getWidth() / 2, cornerDimension.height - 2, 270,
+ 95);
graphics.setLineWidth(tmpWidth);
- graphics.drawArc(tempRect.x + tempRect.width - cornerDimension.width + borderwidth, tempRect.y + borderwidth + tempRect.height - cornerDimension.height + getWidth() / 2, cornerDimension.width - 3 + getWidth() / 2, cornerDimension.height - 3, 270, 95);
- //Right rectangle shadow
- if((tempRect.height - cornerDimension.height) > 0)
+ graphics.drawArc(tempRect.x + tempRect.width - cornerDimension.width + borderwidth, tempRect.y + borderwidth + tempRect.height - cornerDimension.height + getWidth() / 2, cornerDimension.width - 3 + getWidth() / 2, cornerDimension.height - 3, 270,
+ 95);
+ // Right rectangle shadow
+ if ((tempRect.height - cornerDimension.height) > 0)
graphics.fillRectangle(tempRect.x + tempRect.width + getWidth() / 2, tempRect.y + cornerDimension.height / 2, borderwidth, tempRect.height - cornerDimension.height + borderwidth);
- //Bottom rectangle shadow
- if((tempRect.width - cornerDimension.width) > 0)
+ // Bottom rectangle shadow
+ if ((tempRect.width - cornerDimension.width) > 0)
graphics.fillRectangle(tempRect.x + cornerDimension.width / 2, tempRect.y + tempRect.height + getWidth() / 2, tempRect.width - cornerDimension.width + borderwidth, borderwidth);
} else {
- //If there is no rounded corner
+ // If there is no rounded corner
PointList plt = new PointList();
plt.addPoint(tempRect.x + tempRect.width, tempRect.y + borderwidth);
plt.addPoint(tempRect.x + tempRect.width, tempRect.y + tempRect.height);
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/draw2d/StructuredActivityNodeFigure.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/draw2d/StructuredActivityNodeFigure.java
index ceecbffc4bf..bfb5df5e0f2 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/draw2d/StructuredActivityNodeFigure.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/draw2d/StructuredActivityNodeFigure.java
@@ -1,186 +1,146 @@
-/*****************************************************************************
- * 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.uml.diagram.activity.draw2d;
-
-import org.eclipse.draw2d.Border;
-import org.eclipse.draw2d.Graphics;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.LayoutManager;
-import org.eclipse.draw2d.OrderedLayout;
-import org.eclipse.draw2d.RoundedRectangle;
-import org.eclipse.draw2d.geometry.Dimension;
-import org.eclipse.gmf.runtime.diagram.ui.util.MeasurementUnitHelper;
-import org.eclipse.gmf.runtime.draw2d.ui.figures.GravityConstrainedFlowLayout;
-import org.eclipse.gmf.runtime.draw2d.ui.figures.GravityDirectionType;
-import org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel;
-import org.eclipse.gmf.runtime.draw2d.ui.mapmode.IMapMode;
-import org.eclipse.gmf.runtime.notation.MeasurementUnit;
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.papyrus.uml.diagram.activity.part.UMLDiagramEditorPlugin;
-import org.eclipse.papyrus.uml.diagram.activity.preferences.IActivityPreferenceConstants;
-import org.eclipse.papyrus.uml.diagram.common.draw2d.RoundedRectangleDashedBorder;
-import org.eclipse.papyrus.uml.diagram.common.figure.node.PapyrusRoundedNodeFigure;
-import org.eclipse.swt.graphics.Color;
-
-/**
- * Figure for structured activity node and its derived element
- *
- * @author arthur daussy
- *
- */
-public class StructuredActivityNodeFigure extends PapyrusRoundedNodeFigure {
-
- /**
- * Since the Activity diagram is using Pixel unit we can use this as constant
- */
- private static IMapMode mapNode = MeasurementUnitHelper.getMapMode(MeasurementUnit.PIXEL_LITERAL);
-
- /**
- * Compartment for activity node
- */
- private RoundedRectangle fStructuredActivityNodeCompartment;
-
- /**
- * Compartment for label
- */
- private RoundedRectangle fFigureCompartmentLabelStructuredActivityNode;
-
- /**
- * Preferences Store
- */
- protected IPreferenceStore store = UMLDiagramEditorPlugin.getInstance().getPreferenceStore();
-
- /**
- * Constructor
- */
- public StructuredActivityNodeFigure() {
- super();
- corner = 8;
- this.shadowborder = createBorder0();
- setBorder(getBorderedFigure(), this.shadowborder);
- createContentPane();
- }
-
- @Override
- protected Border getDefaultBorder(Color borderColor) {
- return createBorder0();
- }
-
- /**
- * Custom border (Used to avoid the alpha setting affect the border)
- *
- * @return
- */
- private org.eclipse.draw2d.LineBorder createBorder0() {
- RoundedRectangleDashedBorder result = new RoundedRectangleDashedBorder(8, 8);
- result.setWidth(1);
- result.setStyle(Graphics.LINE_DASH);
- return result;
- }
-
- @Override
- public LayoutManager getLayoutManager() {
- FlowLayoutAdvanced layoutThis = new FlowLayoutAdvanced();
- layoutThis.setStretchMinorAxis(true);
- layoutThis.setMinorAlignment(OrderedLayout.ALIGN_CENTER);
- layoutThis.setMajorAlignment(OrderedLayout.ALIGN_TOPLEFT);
- layoutThis.setMajorSpacing(0);
- layoutThis.setMinorSpacing(0);
- layoutThis.setHorizontal(false);
- return layoutThis;
- }
-
- /**
- * Create compartment for activity node
- */
- protected void createContentPane() {
- /*
- * Compartment
- */
- this.setLayoutManager(getLayoutManager());
- fStructuredActivityNodeCompartment = new RoundedRectangle();
- fStructuredActivityNodeCompartment.setCornerDimensions(new Dimension(mapNode.DPtoLP(8), mapNode.DPtoLP(8)));
- fStructuredActivityNodeCompartment.setFill(false);
- fStructuredActivityNodeCompartment.setOutline(false);
- fStructuredActivityNodeCompartment.setLineWidth(0);
- FlowLayoutAdvancedConstraint constraintFStructuredActivityNodeCompartment = new FlowLayoutAdvancedConstraint();
- constraintFStructuredActivityNodeCompartment.setFull(true);
- this.add(fStructuredActivityNodeCompartment, constraintFStructuredActivityNodeCompartment);
- }
-
- @Override
- protected Object getDefaultLabelsConstraint() {
- GravityConstrainedFlowLayout layoutFFigureCompartmentLabelStructuredActivityNode = new GravityConstrainedFlowLayout();
- layoutFFigureCompartmentLabelStructuredActivityNode.setGravity(GravityDirectionType.WEST);
- fFigureCompartmentLabelStructuredActivityNode.setLayoutManager(layoutFFigureCompartmentLabelStructuredActivityNode);
- return super.getDefaultLabelsConstraint();
- }
-
- @Override
- protected Object getNameLabelConstraint() {
- GravityConstrainedFlowLayoutConstraint constraintFKeyword = new GravityConstrainedFlowLayoutConstraint();
- constraintFKeyword.setAlign(OrderedLayout.ALIGN_TOPLEFT);
- return constraintFKeyword;
- }
-
- @Override
- protected IFigure getDefaultLabelsContainer() {
- if (fFigureCompartmentLabelStructuredActivityNode == null) {
- fFigureCompartmentLabelStructuredActivityNode = new RoundedRectangle();
- fFigureCompartmentLabelStructuredActivityNode.setCornerDimensions(new Dimension(mapNode.DPtoLP(8), mapNode.DPtoLP(8)));
- fFigureCompartmentLabelStructuredActivityNode.setFill(false);
- fFigureCompartmentLabelStructuredActivityNode.setOutline(false);
- fFigureCompartmentLabelStructuredActivityNode.setLineWidth(0);
- FlowLayoutAdvancedConstraint constraintFFigureCompartmentLabelStructuredActivityNode = new FlowLayoutAdvancedConstraint();
- constraintFFigureCompartmentLabelStructuredActivityNode.setHasMinsize(true);
- this.add(fFigureCompartmentLabelStructuredActivityNode, constraintFFigureCompartmentLabelStructuredActivityNode);
- GravityConstrainedFlowLayout layoutFFigureCompartmentLabelStructuredActivityNode = new GravityConstrainedFlowLayout();
- layoutFFigureCompartmentLabelStructuredActivityNode.setGravity(GravityDirectionType.WEST);
- layoutFFigureCompartmentLabelStructuredActivityNode.setSpacing(10);
- fFigureCompartmentLabelStructuredActivityNode.setLayoutManager(layoutFFigureCompartmentLabelStructuredActivityNode);
- }
- return fFigureCompartmentLabelStructuredActivityNode;
- }
-
- /**
- * Override in order to use alpha component
- */
- @Override
- public void paintFigure(Graphics graphics) {
- int transparency = getTransparency();
- if (transparency == 0) {
- transparency = UMLDiagramEditorPlugin.getInstance().getPreferenceStore().getInt(IActivityPreferenceConstants.PREF_STRUCTURED_NODE_ALPHA);
- } else {
- transparency = 100 - getTransparency();
- }
- graphics.setAlpha(transparency);
- super.paintFigure(graphics);
- }
-
- /**
- * Compartment for activity node
- */
- public RoundedRectangle getStructuredActivityNodeCompartment() {
- return fStructuredActivityNodeCompartment;
- }
-
- /**
- * Get the keywork compartment
- *
- * @return
- */
- public WrappingLabel getKeyword() {
- return getNameLabel();
- }
-}
+/*****************************************************************************
+ * 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.uml.diagram.activity.draw2d;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.LayoutManager;
+import org.eclipse.draw2d.OrderedLayout;
+import org.eclipse.draw2d.RoundedRectangle;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gmf.runtime.diagram.ui.util.MeasurementUnitHelper;
+import org.eclipse.gmf.runtime.draw2d.ui.figures.GravityConstrainedFlowLayout;
+import org.eclipse.gmf.runtime.draw2d.ui.figures.GravityDirectionType;
+import org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel;
+import org.eclipse.gmf.runtime.draw2d.ui.mapmode.IMapMode;
+import org.eclipse.gmf.runtime.notation.MeasurementUnit;
+import org.eclipse.jface.preference.IPreferenceStore;
+import org.eclipse.papyrus.uml.diagram.activity.part.UMLDiagramEditorPlugin;
+import org.eclipse.papyrus.uml.diagram.common.figure.node.RoundedCompartmentFigure;
+
+/**
+ * Figure for structured activity node and its derived element
+ *
+ * @author arthur daussy
+ *
+ */
+public class StructuredActivityNodeFigure extends RoundedCompartmentFigure {
+
+ /**
+ * Since the Activity diagram is using Pixel unit we can use this as constant
+ */
+ private static IMapMode mapNode = MeasurementUnitHelper.getMapMode(MeasurementUnit.PIXEL_LITERAL);
+
+ /**
+ * Compartment for activity node
+ */
+ private RoundedRectangle fStructuredActivityNodeCompartment;
+
+ /**
+ * Compartment for label
+ */
+ private RoundedRectangle fFigureCompartmentLabelStructuredActivityNode;
+
+ /**
+ * Preferences Store
+ */
+ protected IPreferenceStore store = UMLDiagramEditorPlugin.getInstance().getPreferenceStore();
+
+ /**
+ * Constructor
+ */
+ public StructuredActivityNodeFigure() {
+ super();
+ createContentPane();
+ }
+
+ @Override
+ public LayoutManager getLayoutManager() {
+ FlowLayoutAdvanced layoutThis = new FlowLayoutAdvanced();
+ layoutThis.setStretchMinorAxis(true);
+ layoutThis.setMinorAlignment(OrderedLayout.ALIGN_CENTER);
+ layoutThis.setMajorAlignment(OrderedLayout.ALIGN_TOPLEFT);
+ layoutThis.setMajorSpacing(0);
+ layoutThis.setMinorSpacing(0);
+ layoutThis.setHorizontal(false);
+ return layoutThis;
+ }
+
+ /**
+ * Create compartment for activity node
+ */
+ protected void createContentPane() {
+ /*
+ * Compartment
+ */
+ this.setLayoutManager(getLayoutManager());
+ fStructuredActivityNodeCompartment = new RoundedRectangle();
+ fStructuredActivityNodeCompartment.setCornerDimensions(new Dimension(mapNode.DPtoLP(8), mapNode.DPtoLP(8)));
+ fStructuredActivityNodeCompartment.setFill(false);
+ fStructuredActivityNodeCompartment.setOutline(false);
+ fStructuredActivityNodeCompartment.setLineWidth(0);
+ FlowLayoutAdvancedConstraint constraintFStructuredActivityNodeCompartment = new FlowLayoutAdvancedConstraint();
+ constraintFStructuredActivityNodeCompartment.setFull(true);
+ this.add(fStructuredActivityNodeCompartment, constraintFStructuredActivityNodeCompartment);
+ }
+
+ @Override
+ protected Object getDefaultLabelsConstraint() {
+ GravityConstrainedFlowLayout layoutFFigureCompartmentLabelStructuredActivityNode = new GravityConstrainedFlowLayout();
+ layoutFFigureCompartmentLabelStructuredActivityNode.setGravity(GravityDirectionType.WEST);
+ fFigureCompartmentLabelStructuredActivityNode.setLayoutManager(layoutFFigureCompartmentLabelStructuredActivityNode);
+ return super.getDefaultLabelsConstraint();
+ }
+
+ @Override
+ protected Object getNameLabelConstraint() {
+ GravityConstrainedFlowLayoutConstraint constraintFKeyword = new GravityConstrainedFlowLayoutConstraint();
+ constraintFKeyword.setAlign(OrderedLayout.ALIGN_TOPLEFT);
+ return constraintFKeyword;
+ }
+
+ @Override
+ protected IFigure getDefaultLabelsContainer() {
+ if (fFigureCompartmentLabelStructuredActivityNode == null) {
+ fFigureCompartmentLabelStructuredActivityNode = new RoundedRectangle();
+ fFigureCompartmentLabelStructuredActivityNode.setCornerDimensions(new Dimension(mapNode.DPtoLP(8), mapNode.DPtoLP(8)));
+ fFigureCompartmentLabelStructuredActivityNode.setFill(false);
+ fFigureCompartmentLabelStructuredActivityNode.setOutline(false);
+ fFigureCompartmentLabelStructuredActivityNode.setLineWidth(0);
+ FlowLayoutAdvancedConstraint constraintFFigureCompartmentLabelStructuredActivityNode = new FlowLayoutAdvancedConstraint();
+ constraintFFigureCompartmentLabelStructuredActivityNode.setHasMinsize(true);
+ this.add(fFigureCompartmentLabelStructuredActivityNode, constraintFFigureCompartmentLabelStructuredActivityNode);
+ GravityConstrainedFlowLayout layoutFFigureCompartmentLabelStructuredActivityNode = new GravityConstrainedFlowLayout();
+ layoutFFigureCompartmentLabelStructuredActivityNode.setGravity(GravityDirectionType.WEST);
+ layoutFFigureCompartmentLabelStructuredActivityNode.setSpacing(10);
+ fFigureCompartmentLabelStructuredActivityNode.setLayoutManager(layoutFFigureCompartmentLabelStructuredActivityNode);
+ }
+ return fFigureCompartmentLabelStructuredActivityNode;
+ }
+
+ /**
+ * Compartment for activity node
+ */
+ public RoundedRectangle getStructuredActivityNodeCompartment() {
+ return fStructuredActivityNodeCompartment;
+ }
+
+ /**
+ * Get the keywork compartment
+ *
+ * @return
+ */
+ public WrappingLabel getKeyword() {
+ return getNameLabel();
+ }
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityEditPart.java
new file mode 100644
index 00000000000..98625cd6a4b
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityEditPart.java
@@ -0,0 +1,119 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.jface.preference.IPreferenceStore;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.infra.gmfdiag.common.preferences.PreferencesConstantsHelper;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ActivityEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.part.UMLDiagramEditorPlugin;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomActivityEditPart extends ActivityEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomActivityEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ String prefElementId = "Activity";
+ IPreferenceStore store = UMLDiagramEditorPlugin.getInstance().getPreferenceStore();
+ String preferenceConstantWitdh = PreferenceInitializerForElementHelper.getpreferenceKey(getNotationView(), prefElementId, PreferencesConstantsHelper.WIDTH);
+ String preferenceConstantHeight = PreferenceInitializerForElementHelper.getpreferenceKey(getNotationView(), prefElementId, PreferencesConstantsHelper.HEIGHT);
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(store.getInt(preferenceConstantWitdh), store.getInt(preferenceConstantHeight));
+
+ // DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, -20);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityEditPartCN.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityEditPartCN.java
new file mode 100644
index 00000000000..17f3e5b1535
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityEditPartCN.java
@@ -0,0 +1,119 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.jface.preference.IPreferenceStore;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.infra.gmfdiag.common.preferences.PreferencesConstantsHelper;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ActivityEditPartCN;
+import org.eclipse.papyrus.uml.diagram.activity.part.UMLDiagramEditorPlugin;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomActivityEditPartCN extends ActivityEditPartCN {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomActivityEditPartCN(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ String prefElementId = "Activity";
+ IPreferenceStore store = UMLDiagramEditorPlugin.getInstance().getPreferenceStore();
+ String preferenceConstantWitdh = PreferenceInitializerForElementHelper.getpreferenceKey(getNotationView(), prefElementId, PreferencesConstantsHelper.WIDTH);
+ String preferenceConstantHeight = PreferenceInitializerForElementHelper.getpreferenceKey(getNotationView(), prefElementId, PreferencesConstantsHelper.HEIGHT);
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(store.getInt(preferenceConstantWitdh), store.getInt(preferenceConstantHeight));
+
+ // DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, -20);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityParameterNodeEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityParameterNodeEditPart.java
new file mode 100644
index 00000000000..a7fc3664a8c
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityParameterNodeEditPart.java
@@ -0,0 +1,80 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ActivityParameterNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomActivityParameterNodeEditPart extends ActivityParameterNodeEditPart {
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomActivityParameterNodeEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ // installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return super.createNodePlate();// result;
+
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityPartitionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityPartitionEditPart.java
new file mode 100644
index 00000000000..d7376e09729
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomActivityPartitionEditPart.java
@@ -0,0 +1,41 @@
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ActivityPartitionEditPart;
+
+public class CustomActivityPartitionEditPart extends ActivityPartitionEditPart {
+
+ public CustomActivityPartitionEditPart(View view) {
+ super(view);
+ }
+
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, -20);
+ return result;
+ }
+
+ // @Override
+ // protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ // if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // // Create specific locator
+ // RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // // Offset from the parent for the attached case
+ // locator.setBorderItemOffset(new Dimension(-20, -20));
+ // borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ // } else {
+ // super.addBorderItem(borderItemContainer, borderItemEditPart);
+ // }
+ // }
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomAddStructuralFeatureValueActionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomAddStructuralFeatureValueActionEditPart.java
new file mode 100644
index 00000000000..dd3f1638c08
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomAddStructuralFeatureValueActionEditPart.java
@@ -0,0 +1,110 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.AddStructuralFeatureValueActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomAddStructuralFeatureValueActionEditPart extends AddStructuralFeatureValueActionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomAddStructuralFeatureValueActionEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomAddVariableValueActionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomAddVariableValueActionEditPart.java
new file mode 100644
index 00000000000..a2ac6d04a57
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomAddVariableValueActionEditPart.java
@@ -0,0 +1,113 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.AddVariableValueActionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+/**
+ * The Class CustomAddVariableValueActionEditPart.
+ */
+public class CustomAddVariableValueActionEditPart extends AddVariableValueActionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomAddVariableValueActionEditPart(View view) {
+ super(view);
+ // TODO Auto-generated constructor stub
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.AddVariableValueActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.AddVariableValueActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.AddVariableValueActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomBroadcastSignalActionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomBroadcastSignalActionEditPart.java
new file mode 100644
index 00000000000..ec350b04a54
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomBroadcastSignalActionEditPart.java
@@ -0,0 +1,109 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomBroadcastSignalActionEditPart extends BroadcastSignalActionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomBroadcastSignalActionEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCallBehaviorActionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCallBehaviorActionEditPart.java
new file mode 100644
index 00000000000..2ac34349a57
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCallBehaviorActionEditPart.java
@@ -0,0 +1,83 @@
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.CallBehaviorActionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomCallBehaviorActionEditPart extends CallBehaviorActionEditPart {
+
+ /**
+ *
+ */
+ private static final int CORNER_HEIGHT = 15;
+
+ /**
+ *
+ */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ */
+ public CustomCallBehaviorActionEditPart(View view) {
+ super(view);
+ }
+
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ *
+ * @return
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ *
+ * @return
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCallOperationActionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCallOperationActionEditPart.java
new file mode 100644
index 00000000000..b689d6e1f75
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCallOperationActionEditPart.java
@@ -0,0 +1,109 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.CallOperationActionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomCallOperationActionEditPart extends CallOperationActionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomCallOperationActionEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCentralBufferNodeEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCentralBufferNodeEditPart.java
new file mode 100644
index 00000000000..6a5a051a45b
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCentralBufferNodeEditPart.java
@@ -0,0 +1,103 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemLocator;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.CentralBufferNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.CentralBufferNodeSelectionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.locator.LinkedBehaviorLocator;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomCentralBufferNodeEditPart extends CentralBufferNodeEditPart {
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomCentralBufferNodeEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.NamedElementEditPart#refreshLabelDisplay()
+ *
+ */
+ @Override
+ protected void refreshLabelDisplay() {
+ // TODO Auto-generated method stub
+ super.refreshLabelDisplay();
+ // Allow multiline
+ getPrimaryShape().getNameLabel().setTextWrap(true);
+ // Center text
+ getPrimaryShape().getNameLabel().setTextJustification(PositionConstants.CENTER);
+ getPrimaryShape().getNameLabel().setAlignment(PositionConstants.CENTER);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(40, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof CentralBufferNodeSelectionEditPart) {
+ // use custom locator
+ BorderItemLocator locator = new LinkedBehaviorLocator(getMainFigure(), PositionConstants.NORTH);
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomConditionalNodeEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomConditionalNodeEditPart.java
new file mode 100644
index 00000000000..c00795412c5
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomConditionalNodeEditPart.java
@@ -0,0 +1,127 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.Graphics;
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ConditionalNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+/**
+ * The Class CustomConditionalNodeEditPart.
+ */
+public class CustomConditionalNodeEditPart extends ConditionalNodeEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 8;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 8;
+
+ /** The Constant DEFAULT_BORDER_STYLE. */
+ private static final int DEFAULT_BORDER_STYLE = Graphics.LINE_DASH;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomConditionalNodeEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.ConditionalNodeEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.ConditionalNodeEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.gmf.runtime.diagram.ui.editparts.AbstractBorderedShapeEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+ /**
+ * Gets the default border style.
+ *
+ * @return the default border style
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultBorderStyle()
+ */
+ @Override
+ protected int getDefaultBorderStyle() {
+ return DEFAULT_BORDER_STYLE;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCreateObjectActionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCreateObjectActionEditPart.java
new file mode 100644
index 00000000000..870f79cdd96
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomCreateObjectActionEditPart.java
@@ -0,0 +1,109 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.CreateObjectActionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomCreateObjectActionEditPart extends CreateObjectActionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomCreateObjectActionEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomDataStoreNodeEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomDataStoreNodeEditPart.java
new file mode 100644
index 00000000000..6a82a7ec139
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomDataStoreNodeEditPart.java
@@ -0,0 +1,103 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemLocator;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.DataStoreNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.DataStoreSelectionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.locator.LinkedBehaviorLocator;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomDataStoreNodeEditPart extends DataStoreNodeEditPart {
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomDataStoreNodeEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.NamedElementEditPart#refreshLabelDisplay()
+ *
+ */
+ @Override
+ protected void refreshLabelDisplay() {
+ // TODO Auto-generated method stub
+ super.refreshLabelDisplay();
+ // Allow multiline
+ getPrimaryShape().getNameLabel().setTextWrap(true);
+ // Center text
+ getPrimaryShape().getNameLabel().setTextJustification(PositionConstants.CENTER);
+ getPrimaryShape().getNameLabel().setAlignment(PositionConstants.CENTER);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(40, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof DataStoreSelectionEditPart) {
+ // use custom locator
+ BorderItemLocator locator = new LinkedBehaviorLocator(getMainFigure(), PositionConstants.NORTH);
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomDestroyObjectActionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomDestroyObjectActionEditPart.java
new file mode 100644
index 00000000000..aa4c1cb7bff
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomDestroyObjectActionEditPart.java
@@ -0,0 +1,109 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.DestroyObjectActionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomDestroyObjectActionEditPart extends DestroyObjectActionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomDestroyObjectActionEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomExpansionRegionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomExpansionRegionEditPart.java
new file mode 100644
index 00000000000..e4b0b7c202b
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomExpansionRegionEditPart.java
@@ -0,0 +1,127 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.Graphics;
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ExpansionRegionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+/**
+ * The Class CustomExpansionRegionEditPart.
+ */
+public class CustomExpansionRegionEditPart extends ExpansionRegionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 8;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 8;
+
+ /** The Constant DEFAULT_BORDER_STYLE. */
+ private static final int DEFAULT_BORDER_STYLE = Graphics.LINE_DASH;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomExpansionRegionEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.ExpansionRegionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.ExpansionRegionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.gmf.runtime.diagram.ui.editparts.AbstractBorderedShapeEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+ /**
+ * Gets the default border style.
+ *
+ * @return the default border style
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultBorderStyle()
+ */
+ @Override
+ protected int getDefaultBorderStyle() {
+ return DEFAULT_BORDER_STYLE;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomInterruptibleActivityRegionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomInterruptibleActivityRegionEditPart.java
new file mode 100644
index 00000000000..7419634519e
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomInterruptibleActivityRegionEditPart.java
@@ -0,0 +1,115 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.Graphics;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.SelectableBorderedNodeFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.InterruptibleActivityRegionEditPart;
+
+// TODO: Auto-generated Javadoc
+/**
+ * The Class CustomInterruptibleActivityRegionEditPart.
+ */
+public class CustomInterruptibleActivityRegionEditPart extends InterruptibleActivityRegionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 8;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 8;
+
+ /** The Constant DEFAULT_BORDER_STYLE. */
+ private static final int DEFAULT_BORDER_STYLE = Graphics.LINE_DASH;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomInterruptibleActivityRegionEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.InterruptibleActivityRegionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.InterruptibleActivityRegionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(40, 40);
+ return result;
+ }
+
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.InterruptibleActivityRegionEditPart#createNodeFigure()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodeFigure() {
+ return new SelectableBorderedNodeFigure(createMainFigureWithSVG());
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+ /**
+ * Gets the default border style.
+ *
+ * @return the default border style
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultBorderStyle()
+ */
+ @Override
+ protected int getDefaultBorderStyle() {
+ return DEFAULT_BORDER_STYLE;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomLoopNodeEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomLoopNodeEditPart.java
new file mode 100644
index 00000000000..29e0ddf8606
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomLoopNodeEditPart.java
@@ -0,0 +1,127 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.Graphics;
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.LoopNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+/**
+ * The Class CustomLoopNodeEditPart.
+ */
+public class CustomLoopNodeEditPart extends LoopNodeEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 8;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 8;
+
+ /** The Constant DEFAULT_BORDER_STYLE. */
+ private static final int DEFAULT_BORDER_STYLE = Graphics.LINE_DASH;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomLoopNodeEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.LoopNodeEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.LoopNodeEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.gmf.runtime.diagram.ui.editparts.AbstractBorderedShapeEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+ /**
+ * Gets the default border style.
+ *
+ * @return the default border style
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultBorderStyle()
+ */
+ @Override
+ protected int getDefaultBorderStyle() {
+ return DEFAULT_BORDER_STYLE;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomOpaqueActionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomOpaqueActionEditPart.java
new file mode 100644
index 00000000000..23edcf9740d
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomOpaqueActionEditPart.java
@@ -0,0 +1,109 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.OpaqueActionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomOpaqueActionEditPart extends OpaqueActionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomOpaqueActionEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomReadSelfActionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomReadSelfActionEditPart.java
new file mode 100644
index 00000000000..be9b2358a3a
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomReadSelfActionEditPart.java
@@ -0,0 +1,109 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ReadSelfActionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomReadSelfActionEditPart extends ReadSelfActionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomReadSelfActionEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomReadStructuralFeatureActionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomReadStructuralFeatureActionEditPart.java
new file mode 100644
index 00000000000..c66d9247b64
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomReadStructuralFeatureActionEditPart.java
@@ -0,0 +1,109 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ReadStructuralFeatureActionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomReadStructuralFeatureActionEditPart extends ReadStructuralFeatureActionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomReadStructuralFeatureActionEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomReadVariableActionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomReadVariableActionEditPart.java
new file mode 100644
index 00000000000..f3a09cd46d3
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomReadVariableActionEditPart.java
@@ -0,0 +1,109 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ReadVariableActionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomReadVariableActionEditPart extends ReadVariableActionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomReadVariableActionEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomSendObjectActionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomSendObjectActionEditPart.java
new file mode 100644
index 00000000000..328e32b477d
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomSendObjectActionEditPart.java
@@ -0,0 +1,109 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.SendObjectActionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomSendObjectActionEditPart extends SendObjectActionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomSendObjectActionEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomSequenceNodeEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomSequenceNodeEditPart.java
new file mode 100644
index 00000000000..b557ab91114
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomSequenceNodeEditPart.java
@@ -0,0 +1,127 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.Graphics;
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.SequenceNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+/**
+ * The Class CustomSequenceNodeEditPart.
+ */
+public class CustomSequenceNodeEditPart extends SequenceNodeEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 8;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 8;
+
+ /** The Constant DEFAULT_BORDER_STYLE. */
+ private static final int DEFAULT_BORDER_STYLE = Graphics.LINE_DASH;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomSequenceNodeEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.SequenceNodeEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.SequenceNodeEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.gmf.runtime.diagram.ui.editparts.AbstractBorderedShapeEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+ /**
+ * Gets the default border style.
+ *
+ * @return the default border style
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultBorderStyle()
+ */
+ @Override
+ protected int getDefaultBorderStyle() {
+ return DEFAULT_BORDER_STYLE;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomStructuredActivityNodeEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomStructuredActivityNodeEditPart.java
new file mode 100644
index 00000000000..bf53aea18e7
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomStructuredActivityNodeEditPart.java
@@ -0,0 +1,127 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.Graphics;
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.StructuredActivityNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+/**
+ * The Class CustomStructuredActivityNodeEditPart.
+ */
+public class CustomStructuredActivityNodeEditPart extends StructuredActivityNodeEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 8;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 8;
+
+ /** The Constant DEFAULT_BORDER_STYLE. */
+ private static final int DEFAULT_BORDER_STYLE = Graphics.LINE_DASH;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomStructuredActivityNodeEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.StructuredActivityNodeEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.StructuredActivityNodeEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.gmf.runtime.diagram.ui.editparts.AbstractBorderedShapeEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+ /**
+ * Gets the default border style.
+ *
+ * @return the default border style
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultBorderStyle()
+ */
+ @Override
+ protected int getDefaultBorderStyle() {
+ return DEFAULT_BORDER_STYLE;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomUMLEditPartFactory.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomUMLEditPartFactory.java
index 68ea69629e4..42acfed7ab2 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomUMLEditPartFactory.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomUMLEditPartFactory.java
@@ -1,148 +1,223 @@
-/*****************************************************************************
- * 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
- * Arthur Daussy Bug 366026 - [ActivityDiagram] Refactoring in order to try respect Generation Gap Pattern
- * Bug 366159 - [ActivityDiagram] Activity Diagram should be able to handle correctly Interruptible Edge
- * Bug 367279 - [Activity Diagram] Activity Diagram should be able to handle correctly Exception Handler element
- * Bug 368932 - [ActivitiyDiagram] Prevent Compartment of Activity group to be selected
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.activity.edit.part;
-
-import org.eclipse.gef.EditPart;
-import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomActivityPartitionActivityPartitionContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomConditionalNodeStructuredActivityNodeContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomExpansionRegionStructuredActivityNodeContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomInterruptibleActivityRegionInterruptibleActivityRegionContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomLoopNodeStructuredActivityNodeContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomSequenceNodeStructuredActivityNodeContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomStructuredActivityNodeStructuredActivityNodeContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.AcceptEventActionEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.AcceptTimeEventActionAppliedStereotypeEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ActivityActivityContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ActivityPartitionActivityPartitionContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ConditionalNodeStructuredActivityNodeContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ControlFlowEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ControlFlowInterruptibleIconEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ExceptionHandlerIconEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ExpansionRegionStructuredActivityNodeContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.InterruptibleActivityRegionInterruptibleActivityRegionContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.LoopNodeStructuredActivityNodeContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ObjectFlowEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ObjectFlowInterruptibleIconEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ObjectFlowSelectionEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ObjectFlowTransformationEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.SequenceNodeStructuredActivityNodeContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.StructuredActivityNodeStructuredActivityNodeContentCompartmentEditPart;
-import org.eclipse.papyrus.uml.diagram.activity.edit.parts.UMLEditPartFactory;
-import org.eclipse.papyrus.uml.diagram.activity.part.UMLVisualIDRegistry;
-
-public class CustomUMLEditPartFactory extends UMLEditPartFactory {
-
- @Override
- public EditPart createEditPart(EditPart context, Object model) {
- if (model instanceof View) {
- View view = (View) model;
- switch (UMLVisualIDRegistry.getVisualID(view)) {
- case ControlFlowEditPart.VISUAL_ID:
- /*
- * To implement InterruptibleEdge interface
- */
- return new CustomControlFlowEditPart(view);
- case ObjectFlowSelectionEditPart.VISUAL_ID:
- /*
- * Customization to handle special image label
- */
- return new CustomObjectFlowSelectionEditPart(view);
- case ObjectFlowTransformationEditPart.VISUAL_ID:
- /*
- * Customization to handle special image label
- */
- return new CustomObjectFlowTransformationEditPart(view);
- case ControlFlowInterruptibleIconEditPart.VISUAL_ID:
- /*
- * Customization to handle special image label
- */
- return new CustomControlFlowInterruptibleIconEditPart(view);
- case ObjectFlowEditPart.VISUAL_ID:
- /*
- * To implement InterruptibleEdge interface
- */
- return new CustomObjectFlowEditPart(view);
- case ObjectFlowInterruptibleIconEditPart.VISUAL_ID:
- /*
- * Customization to handle special image label
- */
- return new CustomObjectFlowInterruptibleIconEditPart(view);
- case ExceptionHandlerIconEditPart.VISUAL_ID:
- /*
- * Customization to handle special image label
- */
- return new CustomExceptionHandlerIconEditPart(view);
- case ActivityPartitionActivityPartitionContentCompartmentEditPart.VISUAL_ID:
- /*
- * Customization in order to make this compartment not selectable
- * Custom figure
- */
- return new CustomActivityPartitionActivityPartitionContentCompartmentEditPart(view);
- case StructuredActivityNodeStructuredActivityNodeContentCompartmentEditPart.VISUAL_ID:
- /*
- * Customization in order to make this compartment not selectable
- * Custom figure
- */
- return new CustomStructuredActivityNodeStructuredActivityNodeContentCompartmentEditPart(view);
- case ExpansionRegionStructuredActivityNodeContentCompartmentEditPart.VISUAL_ID:
- /*
- * Customization in order to make this compartment not selectable
- * Custom figure
- */
- return new CustomExpansionRegionStructuredActivityNodeContentCompartmentEditPart(view);
- case LoopNodeStructuredActivityNodeContentCompartmentEditPart.VISUAL_ID:
- /*
- * Customization in order to make this compartment not selectable
- * Custom figure
- */
- return new CustomLoopNodeStructuredActivityNodeContentCompartmentEditPart(view);
- case SequenceNodeStructuredActivityNodeContentCompartmentEditPart.VISUAL_ID:
- /*
- * Customization in order to make this compartment not selectable
- * Custom figure
- */
- return new CustomSequenceNodeStructuredActivityNodeContentCompartmentEditPart(view);
- case ConditionalNodeStructuredActivityNodeContentCompartmentEditPart.VISUAL_ID:
- /*
- * Customization in order to make this compartment not selectable
- * Custom figure
- */
- return new CustomConditionalNodeStructuredActivityNodeContentCompartmentEditPart(view);
- case InterruptibleActivityRegionInterruptibleActivityRegionContentCompartmentEditPart.VISUAL_ID:
- /*
- * Customization in order to make this compartment not selectable
- * Custom figure
- */
- return new CustomInterruptibleActivityRegionInterruptibleActivityRegionContentCompartmentEditPart(view);
- case ActivityActivityContentCompartmentEditPart.VISUAL_ID:
- /*
- * Customization in order to make this compartment not selectable
- * Custom figure
- */
- return new CustomActivityActivityContentCompartmentEditPart(view);
- case AcceptEventActionEditPart.VISUAL_ID:
- return new CustomAcceptEventActionEditPart(view);
- case AcceptTimeEventActionAppliedStereotypeEditPart.VISUAL_ID:
- return new CustomAcceptTimeEventActionAppliedStereotypeEditPart(view);
-
- }
- }
- return super.createEditPart(context, model);
- }
-}
+/*****************************************************************************
+ * 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
+ * Arthur Daussy Bug 366026 - [ActivityDiagram] Refactoring in order to try respect Generation Gap Pattern
+ * Bug 366159 - [ActivityDiagram] Activity Diagram should be able to handle correctly Interruptible Edge
+ * Bug 367279 - [Activity Diagram] Activity Diagram should be able to handle correctly Exception Handler element
+ * Bug 368932 - [ActivitiyDiagram] Prevent Compartment of Activity group to be selected
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.gef.EditPart;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomActivityPartitionActivityPartitionContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomConditionalNodeStructuredActivityNodeContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomExpansionRegionStructuredActivityNodeContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomInterruptibleActivityRegionInterruptibleActivityRegionContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomLoopNodeStructuredActivityNodeContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomSequenceNodeStructuredActivityNodeContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.part.ActivityGroup.CustomStructuredActivityNodeStructuredActivityNodeContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.AcceptEventActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.AcceptTimeEventActionAppliedStereotypeEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ActivityActivityContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ActivityEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ActivityEditPartCN;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ActivityParameterNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ActivityPartitionActivityPartitionContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ActivityPartitionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.AddStructuralFeatureValueActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.AddVariableValueActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.CallBehaviorActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.CallOperationActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.CentralBufferNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ConditionalNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ConditionalNodeStructuredActivityNodeContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ControlFlowEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ControlFlowInterruptibleIconEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.CreateObjectActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.DataStoreNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.DestroyObjectActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ExceptionHandlerIconEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ExpansionRegionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ExpansionRegionStructuredActivityNodeContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.InterruptibleActivityRegionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.InterruptibleActivityRegionInterruptibleActivityRegionContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.LoopNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.LoopNodeStructuredActivityNodeContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ObjectFlowEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ObjectFlowInterruptibleIconEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ObjectFlowSelectionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ObjectFlowTransformationEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.OpaqueActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ReadSelfActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ReadStructuralFeatureActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ReadVariableActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.SendObjectActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.SequenceNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.SequenceNodeStructuredActivityNodeContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.StructuredActivityNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.StructuredActivityNodeStructuredActivityNodeContentCompartmentEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.UMLEditPartFactory;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ValueSpecificationActionEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.part.UMLVisualIDRegistry;
+
+public class CustomUMLEditPartFactory extends UMLEditPartFactory {
+
+ @Override
+ public EditPart createEditPart(EditPart context, Object model) {
+ if (model instanceof View) {
+ View view = (View) model;
+ switch (UMLVisualIDRegistry.getVisualID(view)) {
+ case ControlFlowEditPart.VISUAL_ID:
+ /*
+ * To implement InterruptibleEdge interface
+ */
+ return new CustomControlFlowEditPart(view);
+ case ObjectFlowSelectionEditPart.VISUAL_ID:
+ /*
+ * Customization to handle special image label
+ */
+ return new CustomObjectFlowSelectionEditPart(view);
+ case ObjectFlowTransformationEditPart.VISUAL_ID:
+ /*
+ * Customization to handle special image label
+ */
+ return new CustomObjectFlowTransformationEditPart(view);
+ case ControlFlowInterruptibleIconEditPart.VISUAL_ID:
+ /*
+ * Customization to handle special image label
+ */
+ return new CustomControlFlowInterruptibleIconEditPart(view);
+ case ObjectFlowEditPart.VISUAL_ID:
+ /*
+ * To implement InterruptibleEdge interface
+ */
+ return new CustomObjectFlowEditPart(view);
+ case ObjectFlowInterruptibleIconEditPart.VISUAL_ID:
+ /*
+ * Customization to handle special image label
+ */
+ return new CustomObjectFlowInterruptibleIconEditPart(view);
+ case ExceptionHandlerIconEditPart.VISUAL_ID:
+ /*
+ * Customization to handle special image label
+ */
+ return new CustomExceptionHandlerIconEditPart(view);
+ case ActivityPartitionActivityPartitionContentCompartmentEditPart.VISUAL_ID:
+ /*
+ * Customization in order to make this compartment not selectable
+ * Custom figure
+ */
+ return new CustomActivityPartitionActivityPartitionContentCompartmentEditPart(view);
+ case StructuredActivityNodeStructuredActivityNodeContentCompartmentEditPart.VISUAL_ID:
+ /*
+ * Customization in order to make this compartment not selectable
+ * Custom figure
+ */
+ return new CustomStructuredActivityNodeStructuredActivityNodeContentCompartmentEditPart(view);
+ case ExpansionRegionStructuredActivityNodeContentCompartmentEditPart.VISUAL_ID:
+ /*
+ * Customization in order to make this compartment not selectable
+ * Custom figure
+ */
+ return new CustomExpansionRegionStructuredActivityNodeContentCompartmentEditPart(view);
+ case LoopNodeStructuredActivityNodeContentCompartmentEditPart.VISUAL_ID:
+ /*
+ * Customization in order to make this compartment not selectable
+ * Custom figure
+ */
+ return new CustomLoopNodeStructuredActivityNodeContentCompartmentEditPart(view);
+ case SequenceNodeStructuredActivityNodeContentCompartmentEditPart.VISUAL_ID:
+ /*
+ * Customization in order to make this compartment not selectable
+ * Custom figure
+ */
+ return new CustomSequenceNodeStructuredActivityNodeContentCompartmentEditPart(view);
+ case ConditionalNodeStructuredActivityNodeContentCompartmentEditPart.VISUAL_ID:
+ /*
+ * Customization in order to make this compartment not selectable
+ * Custom figure
+ */
+ return new CustomConditionalNodeStructuredActivityNodeContentCompartmentEditPart(view);
+ case InterruptibleActivityRegionInterruptibleActivityRegionContentCompartmentEditPart.VISUAL_ID:
+ /*
+ * Customization in order to make this compartment not selectable
+ * Custom figure
+ */
+ return new CustomInterruptibleActivityRegionInterruptibleActivityRegionContentCompartmentEditPart(view);
+ case ActivityActivityContentCompartmentEditPart.VISUAL_ID:
+ /*
+ * Customization in order to make this compartment not selectable
+ * Custom figure
+ */
+ return new CustomActivityActivityContentCompartmentEditPart(view);
+ case AcceptEventActionEditPart.VISUAL_ID:
+ return new CustomAcceptEventActionEditPart(view);
+ case AcceptTimeEventActionAppliedStereotypeEditPart.VISUAL_ID:
+ return new CustomAcceptTimeEventActionAppliedStereotypeEditPart(view);
+ case ActivityPartitionEditPart.VISUAL_ID:
+ return new CustomActivityPartitionEditPart(view);
+ case BroadcastSignalActionEditPart.VISUAL_ID:
+ return new CustomBroadcastSignalActionEditPart(view);
+ case AddVariableValueActionEditPart.VISUAL_ID:
+ return new CustomAddVariableValueActionEditPart(view);
+ case InterruptibleActivityRegionEditPart.VISUAL_ID:
+ return new CustomInterruptibleActivityRegionEditPart(view);
+ case ExpansionRegionEditPart.VISUAL_ID:
+ return new CustomExpansionRegionEditPart(view);
+ case ConditionalNodeEditPart.VISUAL_ID:
+ return new CustomConditionalNodeEditPart(view);
+ case LoopNodeEditPart.VISUAL_ID:
+ return new CustomLoopNodeEditPart(view);
+ case SequenceNodeEditPart.VISUAL_ID:
+ return new CustomSequenceNodeEditPart(view);
+ case StructuredActivityNodeEditPart.VISUAL_ID:
+ return new CustomStructuredActivityNodeEditPart(view);
+ case CallBehaviorActionEditPart.VISUAL_ID:
+ return new CustomCallBehaviorActionEditPart(view);
+ case AddStructuralFeatureValueActionEditPart.VISUAL_ID:
+ return new CustomAddStructuralFeatureValueActionEditPart(view);
+ case CallOperationActionEditPart.VISUAL_ID:
+ return new CustomCallOperationActionEditPart(view);
+ case CreateObjectActionEditPart.VISUAL_ID:
+ return new CustomCreateObjectActionEditPart(view);
+ case DestroyObjectActionEditPart.VISUAL_ID:
+ return new CustomDestroyObjectActionEditPart(view);
+ case OpaqueActionEditPart.VISUAL_ID:
+ return new CustomOpaqueActionEditPart(view);
+ case ReadSelfActionEditPart.VISUAL_ID:
+ return new CustomReadSelfActionEditPart(view);
+ case ReadStructuralFeatureActionEditPart.VISUAL_ID:
+ return new CustomReadStructuralFeatureActionEditPart(view);
+ case ReadVariableActionEditPart.VISUAL_ID:
+ return new CustomReadVariableActionEditPart(view);
+ case SendObjectActionEditPart.VISUAL_ID:
+ return new CustomSendObjectActionEditPart(view);
+ case ValueSpecificationActionEditPart.VISUAL_ID:
+ return new CustomValueSpecificationActionEditPart(view);
+ case CentralBufferNodeEditPart.VISUAL_ID:
+ return new CustomCentralBufferNodeEditPart(view);
+ case DataStoreNodeEditPart.VISUAL_ID:
+ return new CustomDataStoreNodeEditPart(view);
+ case ActivityParameterNodeEditPart.VISUAL_ID:
+ return new CustomActivityParameterNodeEditPart(view);
+ case ActivityEditPart.VISUAL_ID:
+ return new CustomActivityEditPart(view);
+ case ActivityEditPartCN.VISUAL_ID:
+ return new CustomActivityEditPartCN(view);
+
+ }
+ }
+ return super.createEditPart(context, model);
+ }
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomValueSpecificationActionEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomValueSpecificationActionEditPart.java
new file mode 100644
index 00000000000..0f0cf848e4a
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/CustomValueSpecificationActionEditPart.java
@@ -0,0 +1,109 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gef.EditPolicy;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
+import org.eclipse.gmf.runtime.gef.ui.figures.DefaultSizeNodeFigure;
+import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleNodePlateFigure;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ValueSpecificationActionEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editparts.FloatingLabelEditPart;
+import org.eclipse.papyrus.uml.diagram.common.locator.RoundedRectangleLabelPositionLocator;
+
+public class CustomValueSpecificationActionEditPart extends ValueSpecificationActionEditPart {
+
+ /** The Constant CORNER_HEIGHT. */
+ private static final int CORNER_HEIGHT = 15;
+
+ /** The Constant CORNER_WIDTH. */
+ private static final int CORNER_WIDTH = 15;
+
+ /**
+ * Constructor.
+ *
+ * @param view
+ * the view
+ */
+ public CustomValueSpecificationActionEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy());
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#createNodePlate()
+ *
+ * @return
+ */
+ @Override
+ protected NodeFigure createNodePlate() {
+ DefaultSizeNodeFigure result = new RoundedRectangleNodePlateFigure(-20, 40);
+ return result;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.activity.edit.parts.BroadcastSignalActionEditPart#addBorderItem(org.eclipse.draw2d.IFigure, org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart)
+ *
+ * @param borderItemContainer
+ * @param borderItemEditPart
+ */
+ @Override
+ protected void addBorderItem(IFigure borderItemContainer, IBorderItemEditPart borderItemEditPart) {
+ if (borderItemEditPart instanceof FloatingLabelEditPart) {
+ // Create specific locator
+ RoundedRectangleLabelPositionLocator locator = new RoundedRectangleLabelPositionLocator(getMainFigure(), PositionConstants.SOUTH);
+ // Offset from the parent for the attached case
+ locator.setBorderItemOffset(new Dimension(-20, -20));
+ borderItemContainer.add(borderItemEditPart.getFigure(), locator);
+ } else {
+ super.addBorderItem(borderItemContainer, borderItemEditPart);
+ }
+ }
+
+ /**
+ * Gets the default corner height.
+ *
+ * @return the default corner height
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerHeight()
+ */
+ @Override
+ protected int getDefaultCornerHeight() {
+ return CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width.
+ *
+ * @return the default corner width
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.RoundedCompartmentEditPart#getDefaultCornerWidth()
+ */
+ @Override
+ protected int getDefaultCornerWidth() {
+ return CORNER_WIDTH;
+ }
+
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/RoundedUMLNodeEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/RoundedUMLNodeEditPart.java
new file mode 100644
index 00000000000..234417a19fa
--- /dev/null
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/part/RoundedUMLNodeEditPart.java
@@ -0,0 +1,287 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.edit.part;
+
+import org.eclipse.draw2d.Graphics;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.gmf.runtime.notation.BooleanValueStyle;
+import org.eclipse.gmf.runtime.notation.IntValueStyle;
+import org.eclipse.gmf.runtime.notation.NotationPackage;
+import org.eclipse.gmf.runtime.notation.StringValueStyle;
+import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.IRoundedRectangleFigure;
+import org.eclipse.papyrus.uml.diagram.common.editparts.UMLNodeEditPart;
+import org.eclipse.papyrus.uml.diagram.common.editpolicies.ShowHideCompartmentEditPolicy;
+
+/**
+ * The Class RoundedCompartmentEditPart.
+ */
+public abstract class RoundedUMLNodeEditPart extends UMLNodeEditPart {
+
+ /** The Constant BORDER_STYLE. */
+ protected static final String BORDER_STYLE = "borderStyle";
+
+ /** The Constant DEFAULT_BORDER_STYLE. */
+ private static final int DEFAULT_BORDER_STYLE = Graphics.LINE_SOLID;
+
+ /** The Constant FLOATING_NAME_OFFSET_HEIGHT. */
+ public static final String FLOATING_LABEL_OFFSET_HEIGHT = "floatingLabelOffsetHeight";
+
+ /** The Constant FLOATING_NAME_OFFSET_WIDTH. */
+ public static final String FLOATING_LABEL_OFFSET_WIDTH = "floatingLabelOffsetWidth";
+
+ /** CSS boolean property controlling whether label should be constrained. */
+ public static final String FLOATING_LABEL_CONSTRAINED = "isFloatingLabelConstrained";
+
+ /** CSS boolean property controlling whether. */
+ public static final String RADIUS_WIDTH = "radiusWidth";
+
+ /** CSS boolean property controlling whether. */
+ public static final String RADIUS_HEIGHT = "radiusHeight";
+
+ /** CSS boolean property controlling whether. */
+ public static final String IS_OVAL = "isOval";
+
+ /** The Constant DEFAULT_IS_FLOATING_LABEL_CONSTRAINED. */
+ private static final boolean DEFAULT_IS_FLOATING_LABEL_CONSTRAINED = false;
+
+ /** The Constant DEFAULT_FLOATING_LABEL_OFFSET_WIDTH. */
+ private static final int DEFAULT_FLOATING_LABEL_OFFSET_WIDTH = 0;
+
+ /** The Constant DEFAULT_FLOATING_LABEL_OFFSET_HEIGHT. */
+ private static final int DEFAULT_FLOATING_LABEL_OFFSET_HEIGHT = 0;
+
+ /** The Constant DEFAULT_CORNER_WIDTH. */
+ private static final int DEFAULT_CORNER_WIDTH = 0;
+
+ /** The Constant DEFAULT_CORNER_HEIGHT. */
+ private static final int DEFAULT_CORNER_HEIGHT = 0;
+
+ /** The Constant DEFAULT_IS_OVAL. */
+ private static final boolean DEFAULT_IS_OVAL = false;
+
+ /**
+ * Instantiates a new rounded compartment edit part.
+ *
+ * @param view
+ * the view
+ */
+ public RoundedUMLNodeEditPart(View view) {
+ super(view);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.UMLNodeEditPart#createDefaultEditPolicies()
+ *
+ */
+ @Override
+ protected void createDefaultEditPolicies() {
+ super.createDefaultEditPolicies();
+ // Install Edit Policy to Hide/show compartment, in particular for the symbol compartment
+ installEditPolicy(ShowHideCompartmentEditPolicy.SHOW_HIDE_COMPARTMENT_POLICY, new ShowHideCompartmentEditPolicy());
+ }
+
+ /**
+ * Refresh visuals.
+ *
+ * @see org.eclipse.papyrus.uml.diagram.common.editparts.NamedElementEditPart#refreshVisuals()
+ */
+ @Override
+ protected void refreshVisuals() {
+ super.refreshVisuals();
+ refreshRadius();
+ refreshOval();
+ refreshFloatingName();
+ refreshBorderStyle();
+ }
+
+ /**
+ * Refresh border style.
+ */
+ private void refreshBorderStyle() {
+ // get the Figure
+ if (getPrimaryShape() instanceof IRoundedRectangleFigure) {
+ IRoundedRectangleFigure roundedRectangleFigure = (IRoundedRectangleFigure) getPrimaryShape();
+
+ // get CSS the value of radius Width
+ StringValueStyle borderValueStyle = (StringValueStyle) ((View) getModel()).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), BORDER_STYLE);
+
+ // change style to int from string
+ int borderStyle = getDefaultBorderStyle();
+ ;
+ if (borderValueStyle != null) {
+ if ("dash".equals(borderValueStyle.getStringValue())) {
+ borderStyle = Graphics.LINE_DASH;
+ }
+ if ("dashDot".equals(borderValueStyle.getStringValue())) {
+ borderStyle = Graphics.LINE_DASHDOT;
+ }
+ if ("dashDotDot".equals(borderValueStyle.getStringValue())) {
+ borderStyle = Graphics.LINE_DASHDOTDOT;
+ }
+ if ("dot".equals(borderValueStyle.getStringValue())) {
+ borderStyle = Graphics.LINE_DOT;
+ }
+ if ("solid".equals(borderValueStyle.getStringValue())) {
+ borderStyle = Graphics.LINE_SOLID;
+ }
+ }
+ // set the border style of the figure
+ roundedRectangleFigure.setBorderStyle(borderStyle);
+ }
+
+ }
+
+ /**
+ * Gets the default border style.
+ *
+ * @return the default border style
+ */
+ protected int getDefaultBorderStyle() {
+ return DEFAULT_BORDER_STYLE;
+ }
+
+
+ /**
+ * Refresh floating name.
+ */
+ protected void refreshFloatingName() {
+ if (getPrimaryShape() instanceof IRoundedRectangleFigure) {
+ // The figure
+ IRoundedRectangleFigure roundedRectangleFigure = (IRoundedRectangleFigure) getPrimaryShape();
+
+ // Get CSS value for the name attached properties
+ BooleanValueStyle isNameConstrainedValue = (BooleanValueStyle) ((View) getModel()).getNamedStyle(NotationPackage.eINSTANCE.getBooleanValueStyle(), FLOATING_LABEL_CONSTRAINED);
+ boolean isNameConstrained;
+ // if no css property set to default value
+ if (isNameConstrainedValue == null) {
+ isNameConstrained = getDefaultIsFloatingNameConstrained();
+ } else {
+ isNameConstrained = isNameConstrainedValue.isBooleanValue();
+ }
+ // Set the name attached properties in figure
+ roundedRectangleFigure.setFloatingNameConstrained(isNameConstrained);
+
+ // get Offset
+ // get CSS the value of offset Width
+ IntValueStyle offsetWidth = (IntValueStyle) ((View) getModel()).getNamedStyle(NotationPackage.eINSTANCE.getIntValueStyle(), FLOATING_LABEL_OFFSET_WIDTH);
+ int width = offsetWidth != null ? offsetWidth.getIntValue() : getDefaultFloatingNameOffsetWidth();
+
+ // get CSS the value of offset Height
+ IntValueStyle offsetHeight = (IntValueStyle) ((View) getModel()).getNamedStyle(NotationPackage.eINSTANCE.getIntValueStyle(), FLOATING_LABEL_OFFSET_HEIGHT);
+ int height = offsetHeight != null ? offsetHeight.getIntValue() : getDefaultFloatingNameOffsetHeight();
+
+ // Set the floating name offset
+ roundedRectangleFigure.setFloatingNameOffset(new Dimension(width, height));
+
+ }
+
+ }
+
+ /**
+ * Gets the default is name constrained.
+ *
+ * @return the default is name constrained
+ */
+ protected boolean getDefaultIsFloatingNameConstrained() {
+ return DEFAULT_IS_FLOATING_LABEL_CONSTRAINED;
+ }
+
+ /**
+ * Gets the default floating name offset height.
+ *
+ * @return the default floating name offset height
+ */
+ protected int getDefaultFloatingNameOffsetHeight() {
+ return DEFAULT_FLOATING_LABEL_OFFSET_HEIGHT;
+ }
+
+ /**
+ * Gets the default floating name offset width.
+ *
+ * @return the default floating name offset width
+ */
+ protected int getDefaultFloatingNameOffsetWidth() {
+ return DEFAULT_FLOATING_LABEL_OFFSET_WIDTH;
+ }
+
+ /**
+ * Refresh radius.
+ */
+ protected void refreshRadius() {
+ if (getPrimaryShape() instanceof IRoundedRectangleFigure) {
+ // The figure
+ IRoundedRectangleFigure roundedRectangleFigure = (IRoundedRectangleFigure) getPrimaryShape();
+
+ Dimension radiusDimension = new Dimension();
+
+ // get CSS the value of radius Width
+ IntValueStyle radiusWidth = (IntValueStyle) ((View) getModel()).getNamedStyle(NotationPackage.eINSTANCE.getIntValueStyle(), RADIUS_WIDTH);
+ radiusDimension.width = radiusWidth != null ? radiusWidth.getIntValue() : getDefaultCornerWidth();
+
+ // get CSS the value of radius Height
+ IntValueStyle radiusHeight = (IntValueStyle) ((View) getModel()).getNamedStyle(NotationPackage.eINSTANCE.getIntValueStyle(), RADIUS_HEIGHT);
+ radiusDimension.height = radiusHeight != null ? radiusHeight.getIntValue() : getDefaultCornerHeight();
+
+ // Set the corner dimension
+ roundedRectangleFigure.setCornerDimensions(radiusDimension);
+ }
+ }
+
+ /**
+ * Gets the default corner height value.
+ *
+ * @return the default corner height value
+ */
+ protected int getDefaultCornerHeight() {
+ return DEFAULT_CORNER_HEIGHT;
+ }
+
+ /**
+ * Gets the default corner width value.
+ *
+ * @return the default corner width value
+ */
+ protected int getDefaultCornerWidth() {
+ return DEFAULT_CORNER_WIDTH;
+ }
+
+ /**
+ * Refresh oval.
+ */
+ protected void refreshOval() {
+ if (getPrimaryShape() instanceof IRoundedRectangleFigure) {
+ // The figure
+ IRoundedRectangleFigure roundedRectangleFigure = (IRoundedRectangleFigure) getPrimaryShape();
+ // get the CSS value of isOval
+ BooleanValueStyle isOvalValue = (BooleanValueStyle) ((View) getModel()).getNamedStyle(NotationPackage.eINSTANCE.getBooleanValueStyle(), IS_OVAL);
+ boolean isOval;
+ if (isOvalValue == null) {
+ isOval = getDefaultIsOvalValue();
+ } else {
+ isOval = isOvalValue.isBooleanValue();
+ }
+ // Set isOval
+ roundedRectangleFigure.setOval(isOval);
+ }
+ }
+
+ /**
+ * Gets the default is oval value.
+ *
+ * @return the default is oval value
+ */
+ protected boolean getDefaultIsOvalValue() {
+ return DEFAULT_IS_OVAL;
+ }
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/ActivityFigure.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/ActivityFigure.java
index 5406d5ae114..8ff972a6dd9 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/ActivityFigure.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/ActivityFigure.java
@@ -1,484 +1,484 @@
-/*****************************************************************************
- * 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
- *
- * Contributors:
- * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation
- */
-package org.eclipse.papyrus.uml.diagram.activity.figures;
-
-import java.util.List;
-
-import org.eclipse.draw2d.AbstractLayout;
-import org.eclipse.draw2d.BorderLayout;
-import org.eclipse.draw2d.ColorConstants;
-import org.eclipse.draw2d.GridData;
-import org.eclipse.draw2d.GridLayout;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.RectangleFigure;
-import org.eclipse.draw2d.RoundedRectangle;
-import org.eclipse.draw2d.StackLayout;
-import org.eclipse.draw2d.geometry.Dimension;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gmf.runtime.diagram.ui.figures.ShapeCompartmentFigure;
-import org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel;
-import org.eclipse.papyrus.uml.diagram.common.figure.node.PapyrusRoundedNodeFigure;
-
-/**
- * Activity figure for the activity diagram
- *
- * @author PT202707
- *
- */
-public class ActivityFigure extends PapyrusRoundedNodeFigure {
-
- /**
- * gap in x to display name stereotypes and qualified name
- */
- protected final int GAP_X = 10;
-
- /**
- * gap in y to display the first label at the top of the package
- */
- protected final int GAP_Y = 5;
-
- /**
- * this is the layout manager in charge to place element in the enumeration
- *
- */
- private class ActivityLayoutManager extends AbstractLayout {
-
- /**
- * ---------------------------------------------------| |sterotypeLabel|
- * precondition | |--------------| | |QualifiedName
- * |-----------------------------------| |--------------| | |name |
- * postcondition | |--------------------------------------------------|
- * | stereotype compartment |
- * |--------------------------------------------------| |parameter | |
- * |----------- | | activity content |
- * ----------------------------------------------------
- *
- * {@inheritDoc}
- */
- @Override
- protected Dimension calculatePreferredSize(IFigure container, int hint, int hint2) {
- int minimumWith = 0;
- int minimumHeight = 0;
- // take in account the content of the figure activity
- if ((getContentFigure().getChildren().size() > 0)) {
- IFigure content = (IFigure) getContentFigure().getChildren().get(0);
- minimumWith = content.getPreferredSize().width + 50;
- minimumHeight = content.getPreferredSize().height + 50;
- }
- // display name
- if (getNameLabel() != null) {
- if (getNameLabel().getPreferredSize().width > minimumWith) {
- minimumWith = getNameLabel().getPreferredSize().width;
- }
- minimumHeight += getNameLabel().getPreferredSize().height;
- }
- if (getHeaderSingleExecution() != null) {
- if (getHeaderSingleExecution().getBounds().getTopRight().x > minimumWith) {
- minimumWith = getHeaderSingleExecution().getBounds().getTopRight().x;
- }
- }
- return new Dimension(minimumWith, minimumHeight);
- }
-
- /**
- *
- * {@inheritDoc}
- */
- @Override
- public void layout(IFigure container) {
- List childrenList = container.getChildren();
- for (int i = 0; i < container.getChildren().size(); i++) {
- Rectangle bound = new Rectangle(((IFigure) childrenList.get(i)).getBounds());
- bound.setSize(((IFigure) childrenList.get(i)).getPreferredSize());
- if (i > 0) {
- bound.y = ((IFigure) childrenList.get(i - 1)).getBounds().getBottomLeft().y + 1;
- bound.x = getBounds().x + GAP_X;
- } else {
- bound.x = getBounds().x + GAP_X;
- bound.y = getBounds().y + GAP_Y;
- }
- ((IFigure) childrenList.get(i)).setBounds(bound);
- }
- // container
- Rectangle lastRectangle = getContentFigure().getBounds();
- lastRectangle.height = getBounds().y + getBounds().height - lastRectangle.y;
- lastRectangle.x = container.getBounds().x;
- lastRectangle.width = getBounds().width;
- getContentFigure().setBounds(lastRectangle);
- if (getGMFContentContainer() != null) {
- getGMFContentContainer().setBounds(lastRectangle);
- }
- // place precondition
- // setX
- Rectangle preconditionBound = getPreconditionFigure().getBounds().getCopy();
- preconditionBound.x = getNameLabel().getBounds().getTopRight().x + GAP_X;
- // take in account stereotype label
- if (getStereotypesLabel() != null) {
- int posStererotypeLabel = getStereotypesLabel().getBounds().getTopRight().x + GAP_X;
- if (posStererotypeLabel > preconditionBound.x) {
- preconditionBound.x = posStererotypeLabel;
- }
- }
- // take in account qualified name
- if (getQualifiedNameLabel() != null) {
- int posqualifiedName = getQualifiedNameLabel().getBounds().getTopRight().x + GAP_X;
- if (posqualifiedName > preconditionBound.x) {
- preconditionBound.x = posqualifiedName;
- }
- }
- // take in account stereotype properties
- if (stereotypePropertiesInBraceContent != null) {
- int possterotypeInBrace = stereotypePropertiesInBraceContent.getBounds().getTopRight().x + GAP_X;
- if (possterotypeInBrace > preconditionBound.x) {
- preconditionBound.x = possterotypeInBrace;
- }
- }
- // take in account parameter figure
- if (getParameterFigure() != null) {
- int posparameter = getParameterFigure().getBounds().getTopRight().x + GAP_X;
- if (posparameter > preconditionBound.x) {
- preconditionBound.x = posparameter;
- }
- }
- // setY
- preconditionBound.y = ((IFigure) container.getChildren().get(0)).getBounds().y;
- getPreconditionFigure().setBounds(preconditionBound);
- if (getPreconditionFigure().getChildren().size() > 0) {
- ((IFigure) getPreconditionFigure().getChildren().get(0)).setBounds(preconditionBound);
- ;
- }
- // setPoscondtion
- Rectangle postconditionBound = getPostconditionFigure().getBounds().getCopy();
- postconditionBound.x = getPreconditionFigure().getBounds().x;
- postconditionBound.y = getPreconditionFigure().getBounds().y + getPreconditionFigure().getBounds().height + GAP_Y;
- getPostconditionFigure().setBounds(postconditionBound);
- if (getPostconditionFigure().getChildren().size() > 0) {
- ((IFigure) getPostconditionFigure().getChildren().get(0)).setBounds(postconditionBound);
- ;
- }
- // setPoscondtion
- Rectangle singleExecutionBound = getHeaderSingleExecution().getBounds().getCopy();
- singleExecutionBound.x = getPreconditionFigure().getBounds().x + getPreconditionFigure().getBounds().width + GAP_X;
- ;
- singleExecutionBound.y = getPreconditionFigure().getBounds().y;
- getHeaderSingleExecution().setBounds(singleExecutionBound);
- // replace compartment stereotype properties
- if (getStereotypePropertiesContent() != null) {
- Rectangle pscontainer = getStereotypePropertiesContent().getBounds().getCopy();
- if (getPostconditionFigure().getBounds().y + getPostconditionFigure().getBounds().height + GAP_Y > pscontainer.y) {
- pscontainer.y = getPostconditionFigure().getBounds().y + getPostconditionFigure().getBounds().height + GAP_Y;
- }
- getStereotypePropertiesContent().setBounds(pscontainer);
- }
- // place parameter
- // replace compartment stereotype properties
- if (getStereotypePropertiesContent() != null) {
- Rectangle paramBoundcontainer = getParameterFigure().getBounds().getCopy();
- paramBoundcontainer.y = getStereotypePropertiesContent().getBounds().getBottomLeft().y;
- getParameterFigure().setBounds(paramBoundcontainer);
- if (getParameterFigure().getChildren().size() > 0) {
- ((IFigure) shapeCompartment.getChildren().get(0)).setBounds(paramBoundcontainer);
- }
- } else {
- Rectangle paramBoundcontainer = getParameterFigure().getBounds().getCopy();
- paramBoundcontainer.y = getNameLabel().getBounds().getBottomLeft().y;
- getParameterFigure().setBounds(paramBoundcontainer);
- if (getParameterFigure().getChildren().size() > 0) {
- ((IFigure) shapeCompartment.getChildren().get(0)).setBounds(paramBoundcontainer);
- ;
- }
- }
- }
- }
-
- /**
- * @generated
- */
- private WrappingLabel fHeaderLabel;
-
- /**
- * @generated
- */
- private RectangleFigure fActivityParametersCompartment;
-
- /**
- * @generated
- */
- private RectangleFigure fActivityPreconditionsCompartment;
-
- /**
- * @generated
- */
- private RectangleFigure fActivityPostconditionsCompartment;
-
- /**
- * @generated
- */
- protected WrappingLabel fHeaderSingleExecution;
-
- /**
- * @generated
- */
- private RectangleFigure fCompartmentFigure;
-
- private RectangleFigure shapeCompartment;
-
- private RectangleFigure preconditionFigure;
-
- private RectangleFigure postconditionFigure;
-
- private RectangleFigure parameterFigure;
-
- /**
- * @generated
- */
- public ActivityFigure() {
- super();
- setLayoutManager(new ActivityLayoutManager());
- shapeCompartment = new RectangleFigure();
- shapeCompartment.setOpaque(false);
- shapeCompartment.setFill(false);
- shapeCompartment.setOutline(false);
- shapeCompartment.setLineWidth(0);
- add(shapeCompartment);
- preconditionFigure = new RectangleFigure();
- preconditionFigure.setOpaque(false);
- preconditionFigure.setFill(false);
- preconditionFigure.setOutline(false);
- preconditionFigure.setLineWidth(10);
- preconditionFigure.setBorder(null);
- preconditionFigure.setForegroundColor(ColorConstants.red);
- add(preconditionFigure);
- parameterFigure = new RectangleFigure();
- parameterFigure.setOpaque(false);
- parameterFigure.setFill(false);
- parameterFigure.setOutline(false);
- parameterFigure.setLineWidth(0);
- add(parameterFigure);
- postconditionFigure = new RectangleFigure();
- postconditionFigure.setOpaque(false);
- postconditionFigure.setFill(false);
- postconditionFigure.setOutline(false);
- postconditionFigure.setLineWidth(0);
- add(postconditionFigure);
- fHeaderSingleExecution = new WrappingLabel();
- add(fHeaderSingleExecution);
- // createContents();
- }
-
- public RectangleFigure getPreconditionFigure() {
- return preconditionFigure;
- }
-
- public RectangleFigure getPostconditionFigure() {
- return postconditionFigure;
- }
-
- public RectangleFigure getParameterFigure() {
- return parameterFigure;
- }
-
- public RectangleFigure getContentFigure() {
- return shapeCompartment;
- }
-
- /**
- * get the gmf container figure of the package
- *
- * @return the gmf container
- */
- public ShapeCompartmentFigure getGMFContentContainer() {
- if (shapeCompartment.getChildren().size() > 0) {
- return (ShapeCompartmentFigure) shapeCompartment.getChildren().get(0);
- }
- return null;
- }
-
- /**
- * @generated
- */
- private void createContents() {
- RoundedRectangle activityBorderFigure0 = new RoundedRectangle();
- this.add(activityBorderFigure0, BorderLayout.CENTER);
- // to remove
- activityBorderFigure0.setBackgroundColor(ColorConstants.red);
- GridLayout layoutActivityBorderFigure0 = new GridLayout();
- layoutActivityBorderFigure0.numColumns = 3;
- layoutActivityBorderFigure0.makeColumnsEqualWidth = false;
- layoutActivityBorderFigure0.horizontalSpacing = 0;
- layoutActivityBorderFigure0.verticalSpacing = 0;
- layoutActivityBorderFigure0.marginWidth = 0;
- layoutActivityBorderFigure0.marginHeight = 0;
- activityBorderFigure0.setLayoutManager(layoutActivityBorderFigure0);
- RectangleFigure labelAndParameter1 = new RectangleFigure();
- labelAndParameter1.setFill(false);
- labelAndParameter1.setOutline(false);
- labelAndParameter1.setLineWidth(0);
- // to remove
- labelAndParameter1.setBackgroundColor(ColorConstants.blue);
- GridData constraintLabelAndParameter1 = new GridData();
- constraintLabelAndParameter1.verticalAlignment = GridData.CENTER;
- constraintLabelAndParameter1.horizontalAlignment = GridData.BEGINNING;
- constraintLabelAndParameter1.horizontalIndent = 0;
- constraintLabelAndParameter1.horizontalSpan = 1;
- constraintLabelAndParameter1.verticalSpan = 1;
- constraintLabelAndParameter1.grabExcessHorizontalSpace = true;
- constraintLabelAndParameter1.grabExcessVerticalSpace = false;
- activityBorderFigure0.add(labelAndParameter1, constraintLabelAndParameter1);
- GridLayout layoutLabelAndParameter1 = new GridLayout();
- layoutLabelAndParameter1.numColumns = 1;
- layoutLabelAndParameter1.makeColumnsEqualWidth = true;
- labelAndParameter1.setLayoutManager(layoutLabelAndParameter1);
- fHeaderLabel = new WrappingLabel();
- fHeaderLabel.setText("ActivityName");
- GridData constraintFHeaderLabel = new GridData();
- constraintFHeaderLabel.verticalAlignment = GridData.CENTER;
- constraintFHeaderLabel.horizontalAlignment = GridData.BEGINNING;
- constraintFHeaderLabel.horizontalIndent = 4;
- constraintFHeaderLabel.horizontalSpan = 1;
- constraintFHeaderLabel.verticalSpan = 1;
- constraintFHeaderLabel.grabExcessHorizontalSpace = true;
- constraintFHeaderLabel.grabExcessVerticalSpace = false;
- labelAndParameter1.add(fHeaderLabel, constraintFHeaderLabel);
- fActivityParametersCompartment = new RectangleFigure();
- // to remove
- fActivityParametersCompartment.setBackgroundColor(ColorConstants.green);
- fActivityParametersCompartment.setFill(false);
- fActivityParametersCompartment.setOutline(false);
- fActivityParametersCompartment.setLineWidth(0);
- GridData constraintFActivityParametersCompartment = new GridData();
- constraintFActivityParametersCompartment.verticalAlignment = GridData.CENTER;
- constraintFActivityParametersCompartment.horizontalAlignment = GridData.BEGINNING;
- constraintFActivityParametersCompartment.horizontalIndent = 0;
- constraintFActivityParametersCompartment.horizontalSpan = 1;
- constraintFActivityParametersCompartment.verticalSpan = 1;
- constraintFActivityParametersCompartment.grabExcessHorizontalSpace = true;
- constraintFActivityParametersCompartment.grabExcessVerticalSpace = false;
- labelAndParameter1.add(fActivityParametersCompartment, constraintFActivityParametersCompartment);
- fActivityParametersCompartment.setLayoutManager(new StackLayout());
- RectangleFigure prePostContions1 = new RectangleFigure();
- // to remove
- prePostContions1.setBackgroundColor(ColorConstants.cyan);
- prePostContions1.setFill(false);
- prePostContions1.setOutline(false);
- prePostContions1.setLineWidth(0);
- GridData constraintPrePostContions1 = new GridData();
- constraintPrePostContions1.verticalAlignment = GridData.CENTER;
- constraintPrePostContions1.horizontalAlignment = GridData.BEGINNING;
- constraintPrePostContions1.horizontalIndent = 0;
- constraintPrePostContions1.horizontalSpan = 1;
- constraintPrePostContions1.verticalSpan = 1;
- constraintPrePostContions1.grabExcessHorizontalSpace = true;
- constraintPrePostContions1.grabExcessVerticalSpace = false;
- activityBorderFigure0.add(prePostContions1, constraintPrePostContions1);
- GridLayout layoutPrePostContions1 = new GridLayout();
- layoutPrePostContions1.numColumns = 1;
- layoutPrePostContions1.makeColumnsEqualWidth = true;
- prePostContions1.setLayoutManager(layoutPrePostContions1);
- fActivityPreconditionsCompartment = new RectangleFigure();
- fActivityPreconditionsCompartment.setBackgroundColor(ColorConstants.darkBlue);
- fActivityPreconditionsCompartment.setFill(false);
- fActivityPreconditionsCompartment.setOutline(false);
- fActivityPreconditionsCompartment.setLineWidth(0);
- GridData constraintFActivityPreconditionsCompartment = new GridData();
- constraintFActivityPreconditionsCompartment.verticalAlignment = GridData.CENTER;
- constraintFActivityPreconditionsCompartment.horizontalAlignment = GridData.BEGINNING;
- constraintFActivityPreconditionsCompartment.horizontalIndent = 0;
- constraintFActivityPreconditionsCompartment.horizontalSpan = 1;
- constraintFActivityPreconditionsCompartment.verticalSpan = 1;
- constraintFActivityPreconditionsCompartment.grabExcessHorizontalSpace = true;
- constraintFActivityPreconditionsCompartment.grabExcessVerticalSpace = false;
- prePostContions1.add(fActivityPreconditionsCompartment, constraintFActivityPreconditionsCompartment);
- fActivityPreconditionsCompartment.setLayoutManager(new StackLayout());
- fActivityPostconditionsCompartment = new RectangleFigure();
- fActivityPostconditionsCompartment.setFill(false);
- fActivityPostconditionsCompartment.setOutline(false);
- fActivityPostconditionsCompartment.setLineWidth(0);
- GridData constraintFActivityPostconditionsCompartment = new GridData();
- constraintFActivityPostconditionsCompartment.verticalAlignment = GridData.CENTER;
- constraintFActivityPostconditionsCompartment.horizontalAlignment = GridData.BEGINNING;
- constraintFActivityPostconditionsCompartment.horizontalIndent = 0;
- constraintFActivityPostconditionsCompartment.horizontalSpan = 1;
- constraintFActivityPostconditionsCompartment.verticalSpan = 1;
- constraintFActivityPostconditionsCompartment.grabExcessHorizontalSpace = true;
- constraintFActivityPostconditionsCompartment.grabExcessVerticalSpace = false;
- prePostContions1.add(fActivityPostconditionsCompartment, constraintFActivityPostconditionsCompartment);
- fActivityPostconditionsCompartment.setLayoutManager(new StackLayout());
- fHeaderSingleExecution = new WrappingLabel();
- fHeaderSingleExecution.setText("");
- GridData constraintFHeaderSingleExecution = new GridData();
- constraintFHeaderSingleExecution.verticalAlignment = GridData.CENTER;
- constraintFHeaderSingleExecution.horizontalAlignment = GridData.BEGINNING;
- constraintFHeaderSingleExecution.horizontalIndent = 0;
- constraintFHeaderSingleExecution.horizontalSpan = 1;
- constraintFHeaderSingleExecution.verticalSpan = 2;
- constraintFHeaderSingleExecution.grabExcessHorizontalSpace = false;
- constraintFHeaderSingleExecution.grabExcessVerticalSpace = false;
- activityBorderFigure0.add(fHeaderSingleExecution, constraintFHeaderSingleExecution);
- fCompartmentFigure = new RectangleFigure();
- fCompartmentFigure.setFill(false);
- fCompartmentFigure.setOutline(false);
- fCompartmentFigure.setLineWidth(0);
- GridData constraintFCompartmentFigure = new GridData();
- constraintFCompartmentFigure.verticalAlignment = GridData.FILL;
- constraintFCompartmentFigure.horizontalAlignment = GridData.FILL;
- constraintFCompartmentFigure.horizontalIndent = 0;
- constraintFCompartmentFigure.horizontalSpan = 3;
- constraintFCompartmentFigure.verticalSpan = 1;
- constraintFCompartmentFigure.grabExcessHorizontalSpace = true;
- constraintFCompartmentFigure.grabExcessVerticalSpace = true;
- activityBorderFigure0.add(fCompartmentFigure, constraintFCompartmentFigure);
- }
-
- /**
- * @generated
- */
- public WrappingLabel getHeaderLabel() {
- return fHeaderLabel;
- }
-
- /**
- * @generated
- */
- public RectangleFigure getActivityParametersCompartment() {
- return fActivityParametersCompartment;
- }
-
- /**
- * @generated
- */
- public RectangleFigure getActivityPreconditionsCompartment() {
- return fActivityPreconditionsCompartment;
- }
-
- /**
- * @generated
- */
- public RectangleFigure getActivityPostconditionsCompartment() {
- return fActivityPostconditionsCompartment;
- }
-
- /**
- * @generated
- */
- public WrappingLabel getHeaderSingleExecution() {
- return fHeaderSingleExecution;
- }
-
- /**
- * @generated
- */
- public RectangleFigure getCompartmentFigure() {
- return fCompartmentFigure;
- }
-}
+/*****************************************************************************
+ * 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
+ *
+ * Contributors:
+ * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation
+ */
+package org.eclipse.papyrus.uml.diagram.activity.figures;
+
+import java.util.List;
+
+import org.eclipse.draw2d.AbstractLayout;
+import org.eclipse.draw2d.BorderLayout;
+import org.eclipse.draw2d.ColorConstants;
+import org.eclipse.draw2d.GridData;
+import org.eclipse.draw2d.GridLayout;
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.RectangleFigure;
+import org.eclipse.draw2d.RoundedRectangle;
+import org.eclipse.draw2d.StackLayout;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.draw2d.geometry.Rectangle;
+import org.eclipse.gmf.runtime.diagram.ui.figures.ShapeCompartmentFigure;
+import org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel;
+import org.eclipse.papyrus.uml.diagram.common.figure.node.RoundedCompartmentFigure;
+
+/**
+ * Activity figure for the activity diagram
+ *
+ * @author PT202707
+ *
+ */
+public class ActivityFigure extends RoundedCompartmentFigure { // PapyrusRoundedNodeFigure RoundedCompartmentFigure
+
+ /**
+ * gap in x to display name stereotypes and qualified name
+ */
+ protected final int GAP_X = 10;
+
+ /**
+ * gap in y to display the first label at the top of the package
+ */
+ protected final int GAP_Y = 5;
+
+ /**
+ * this is the layout manager in charge to place element in the enumeration
+ *
+ */
+ private class ActivityLayoutManager extends AbstractLayout {
+
+ /**
+ * ---------------------------------------------------| |sterotypeLabel|
+ * precondition | |--------------| | |QualifiedName
+ * |-----------------------------------| |--------------| | |name |
+ * postcondition | |--------------------------------------------------|
+ * | stereotype compartment |
+ * |--------------------------------------------------| |parameter | |
+ * |----------- | | activity content |
+ * ----------------------------------------------------
+ *
+ * {@inheritDoc}
+ */
+ @Override
+ protected Dimension calculatePreferredSize(IFigure container, int hint, int hint2) {
+ int minimumWith = 0;
+ int minimumHeight = 0;
+ // take in account the content of the figure activity
+ if ((getContentFigure().getChildren().size() > 0)) {
+ IFigure content = (IFigure) getContentFigure().getChildren().get(0);
+ minimumWith = content.getPreferredSize().width + 50;
+ minimumHeight = content.getPreferredSize().height + 50;
+ }
+ // display name
+ if (getNameLabel() != null) {
+ if (getNameLabel().getPreferredSize().width > minimumWith) {
+ minimumWith = getNameLabel().getPreferredSize().width;
+ }
+ minimumHeight += getNameLabel().getPreferredSize().height;
+ }
+ if (getHeaderSingleExecution() != null) {
+ if (getHeaderSingleExecution().getBounds().getTopRight().x > minimumWith) {
+ minimumWith = getHeaderSingleExecution().getBounds().getTopRight().x;
+ }
+ }
+ return new Dimension(minimumWith, minimumHeight);
+ }
+
+ /**
+ *
+ * {@inheritDoc}
+ */
+ @Override
+ public void layout(IFigure container) {
+ List childrenList = container.getChildren();
+ for (int i = 0; i < container.getChildren().size(); i++) {
+ Rectangle bound = new Rectangle(((IFigure) childrenList.get(i)).getBounds());
+ bound.setSize(((IFigure) childrenList.get(i)).getPreferredSize());
+ if (i > 0) {
+ bound.y = ((IFigure) childrenList.get(i - 1)).getBounds().getBottomLeft().y + 1;
+ bound.x = getBounds().x + GAP_X;
+ } else {
+ bound.x = getBounds().x + GAP_X;
+ bound.y = getBounds().y + GAP_Y;
+ }
+ ((IFigure) childrenList.get(i)).setBounds(bound);
+ }
+ // container
+ Rectangle lastRectangle = getContentFigure().getBounds();
+ lastRectangle.height = getBounds().y + getBounds().height - lastRectangle.y;
+ lastRectangle.x = container.getBounds().x;
+ lastRectangle.width = getBounds().width;
+ getContentFigure().setBounds(lastRectangle);
+ if (getGMFContentContainer() != null) {
+ getGMFContentContainer().setBounds(lastRectangle);
+ }
+ // place precondition
+ // setX
+ Rectangle preconditionBound = getPreconditionFigure().getBounds().getCopy();
+ preconditionBound.x = getNameLabel().getBounds().getTopRight().x + GAP_X;
+ // take in account stereotype label
+ if (getStereotypesLabel() != null) {
+ int posStererotypeLabel = getStereotypesLabel().getBounds().getTopRight().x + GAP_X;
+ if (posStererotypeLabel > preconditionBound.x) {
+ preconditionBound.x = posStererotypeLabel;
+ }
+ }
+ // take in account qualified name
+ if (getQualifiedNameLabel() != null) {
+ int posqualifiedName = getQualifiedNameLabel().getBounds().getTopRight().x + GAP_X;
+ if (posqualifiedName > preconditionBound.x) {
+ preconditionBound.x = posqualifiedName;
+ }
+ }
+ // take in account stereotype properties
+ if (stereotypePropertiesInBraceContent != null) {
+ int possterotypeInBrace = stereotypePropertiesInBraceContent.getBounds().getTopRight().x + GAP_X;
+ if (possterotypeInBrace > preconditionBound.x) {
+ preconditionBound.x = possterotypeInBrace;
+ }
+ }
+ // take in account parameter figure
+ if (getParameterFigure() != null) {
+ int posparameter = getParameterFigure().getBounds().getTopRight().x + GAP_X;
+ if (posparameter > preconditionBound.x) {
+ preconditionBound.x = posparameter;
+ }
+ }
+ // setY
+ preconditionBound.y = ((IFigure) container.getChildren().get(0)).getBounds().y;
+ getPreconditionFigure().setBounds(preconditionBound);
+ if (getPreconditionFigure().getChildren().size() > 0) {
+ ((IFigure) getPreconditionFigure().getChildren().get(0)).setBounds(preconditionBound);
+ ;
+ }
+ // setPoscondtion
+ Rectangle postconditionBound = getPostconditionFigure().getBounds().getCopy();
+ postconditionBound.x = getPreconditionFigure().getBounds().x;
+ postconditionBound.y = getPreconditionFigure().getBounds().y + getPreconditionFigure().getBounds().height + GAP_Y;
+ getPostconditionFigure().setBounds(postconditionBound);
+ if (getPostconditionFigure().getChildren().size() > 0) {
+ ((IFigure) getPostconditionFigure().getChildren().get(0)).setBounds(postconditionBound);
+ ;
+ }
+ // setPoscondtion
+ Rectangle singleExecutionBound = getHeaderSingleExecution().getBounds().getCopy();
+ singleExecutionBound.x = getPreconditionFigure().getBounds().x + getPreconditionFigure().getBounds().width + GAP_X;
+ ;
+ singleExecutionBound.y = getPreconditionFigure().getBounds().y;
+ getHeaderSingleExecution().setBounds(singleExecutionBound);
+ // replace compartment stereotype properties
+ if (getStereotypePropertiesContent() != null) {
+ Rectangle pscontainer = getStereotypePropertiesContent().getBounds().getCopy();
+ if (getPostconditionFigure().getBounds().y + getPostconditionFigure().getBounds().height + GAP_Y > pscontainer.y) {
+ pscontainer.y = getPostconditionFigure().getBounds().y + getPostconditionFigure().getBounds().height + GAP_Y;
+ }
+ getStereotypePropertiesContent().setBounds(pscontainer);
+ }
+ // place parameter
+ // replace compartment stereotype properties
+ if (getStereotypePropertiesContent() != null) {
+ Rectangle paramBoundcontainer = getParameterFigure().getBounds().getCopy();
+ paramBoundcontainer.y = getStereotypePropertiesContent().getBounds().getBottomLeft().y;
+ getParameterFigure().setBounds(paramBoundcontainer);
+ if (getParameterFigure().getChildren().size() > 0) {
+ ((IFigure) shapeCompartment.getChildren().get(0)).setBounds(paramBoundcontainer);
+ }
+ } else {
+ Rectangle paramBoundcontainer = getParameterFigure().getBounds().getCopy();
+ paramBoundcontainer.y = getNameLabel().getBounds().getBottomLeft().y;
+ getParameterFigure().setBounds(paramBoundcontainer);
+ if (getParameterFigure().getChildren().size() > 0) {
+ ((IFigure) shapeCompartment.getChildren().get(0)).setBounds(paramBoundcontainer);
+ ;
+ }
+ }
+ }
+ }
+
+ /**
+ * @generated
+ */
+ private WrappingLabel fHeaderLabel;
+
+ /**
+ * @generated
+ */
+ private RectangleFigure fActivityParametersCompartment;
+
+ /**
+ * @generated
+ */
+ private RectangleFigure fActivityPreconditionsCompartment;
+
+ /**
+ * @generated
+ */
+ private RectangleFigure fActivityPostconditionsCompartment;
+
+ /**
+ * @generated
+ */
+ protected WrappingLabel fHeaderSingleExecution;
+
+ /**
+ * @generated
+ */
+ private RectangleFigure fCompartmentFigure;
+
+ private RectangleFigure shapeCompartment;
+
+ private RectangleFigure preconditionFigure;
+
+ private RectangleFigure postconditionFigure;
+
+ private RectangleFigure parameterFigure;
+
+ /**
+ * @generated
+ */
+ public ActivityFigure() {
+ super();
+ setLayoutManager(new ActivityLayoutManager());
+ shapeCompartment = new RectangleFigure();
+ shapeCompartment.setOpaque(false);
+ shapeCompartment.setFill(false);
+ shapeCompartment.setOutline(false);
+ shapeCompartment.setLineWidth(0);
+ add(shapeCompartment);
+ preconditionFigure = new RectangleFigure();
+ preconditionFigure.setOpaque(false);
+ preconditionFigure.setFill(false);
+ preconditionFigure.setOutline(false);
+ preconditionFigure.setLineWidth(10);
+ preconditionFigure.setBorder(null);
+ preconditionFigure.setForegroundColor(ColorConstants.red);
+ add(preconditionFigure);
+ parameterFigure = new RectangleFigure();
+ parameterFigure.setOpaque(false);
+ parameterFigure.setFill(false);
+ parameterFigure.setOutline(false);
+ parameterFigure.setLineWidth(0);
+ add(parameterFigure);
+ postconditionFigure = new RectangleFigure();
+ postconditionFigure.setOpaque(false);
+ postconditionFigure.setFill(false);
+ postconditionFigure.setOutline(false);
+ postconditionFigure.setLineWidth(0);
+ add(postconditionFigure);
+ fHeaderSingleExecution = new WrappingLabel();
+ add(fHeaderSingleExecution);
+ // createContents();
+ }
+
+ public RectangleFigure getPreconditionFigure() {
+ return preconditionFigure;
+ }
+
+ public RectangleFigure getPostconditionFigure() {
+ return postconditionFigure;
+ }
+
+ public RectangleFigure getParameterFigure() {
+ return parameterFigure;
+ }
+
+ public RectangleFigure getContentFigure() {
+ return shapeCompartment;
+ }
+
+ /**
+ * get the gmf container figure of the package
+ *
+ * @return the gmf container
+ */
+ public ShapeCompartmentFigure getGMFContentContainer() {
+ if (shapeCompartment.getChildren().size() > 0) {
+ return (ShapeCompartmentFigure) shapeCompartment.getChildren().get(0);
+ }
+ return null;
+ }
+
+ /**
+ * @generated
+ */
+ private void createContents() {
+ RoundedRectangle activityBorderFigure0 = new RoundedRectangle();
+ this.add(activityBorderFigure0, BorderLayout.CENTER);
+ // to remove
+ activityBorderFigure0.setBackgroundColor(ColorConstants.red);
+ GridLayout layoutActivityBorderFigure0 = new GridLayout();
+ layoutActivityBorderFigure0.numColumns = 3;
+ layoutActivityBorderFigure0.makeColumnsEqualWidth = false;
+ layoutActivityBorderFigure0.horizontalSpacing = 0;
+ layoutActivityBorderFigure0.verticalSpacing = 0;
+ layoutActivityBorderFigure0.marginWidth = 0;
+ layoutActivityBorderFigure0.marginHeight = 0;
+ activityBorderFigure0.setLayoutManager(layoutActivityBorderFigure0);
+ RectangleFigure labelAndParameter1 = new RectangleFigure();
+ labelAndParameter1.setFill(false);
+ labelAndParameter1.setOutline(false);
+ labelAndParameter1.setLineWidth(0);
+ // to remove
+ labelAndParameter1.setBackgroundColor(ColorConstants.blue);
+ GridData constraintLabelAndParameter1 = new GridData();
+ constraintLabelAndParameter1.verticalAlignment = GridData.CENTER;
+ constraintLabelAndParameter1.horizontalAlignment = GridData.BEGINNING;
+ constraintLabelAndParameter1.horizontalIndent = 0;
+ constraintLabelAndParameter1.horizontalSpan = 1;
+ constraintLabelAndParameter1.verticalSpan = 1;
+ constraintLabelAndParameter1.grabExcessHorizontalSpace = true;
+ constraintLabelAndParameter1.grabExcessVerticalSpace = false;
+ activityBorderFigure0.add(labelAndParameter1, constraintLabelAndParameter1);
+ GridLayout layoutLabelAndParameter1 = new GridLayout();
+ layoutLabelAndParameter1.numColumns = 1;
+ layoutLabelAndParameter1.makeColumnsEqualWidth = true;
+ labelAndParameter1.setLayoutManager(layoutLabelAndParameter1);
+ fHeaderLabel = new WrappingLabel();
+ fHeaderLabel.setText("ActivityName");
+ GridData constraintFHeaderLabel = new GridData();
+ constraintFHeaderLabel.verticalAlignment = GridData.CENTER;
+ constraintFHeaderLabel.horizontalAlignment = GridData.BEGINNING;
+ constraintFHeaderLabel.horizontalIndent = 4;
+ constraintFHeaderLabel.horizontalSpan = 1;
+ constraintFHeaderLabel.verticalSpan = 1;
+ constraintFHeaderLabel.grabExcessHorizontalSpace = true;
+ constraintFHeaderLabel.grabExcessVerticalSpace = false;
+ labelAndParameter1.add(fHeaderLabel, constraintFHeaderLabel);
+ fActivityParametersCompartment = new RectangleFigure();
+ // to remove
+ fActivityParametersCompartment.setBackgroundColor(ColorConstants.green);
+ fActivityParametersCompartment.setFill(false);
+ fActivityParametersCompartment.setOutline(false);
+ fActivityParametersCompartment.setLineWidth(0);
+ GridData constraintFActivityParametersCompartment = new GridData();
+ constraintFActivityParametersCompartment.verticalAlignment = GridData.CENTER;
+ constraintFActivityParametersCompartment.horizontalAlignment = GridData.BEGINNING;
+ constraintFActivityParametersCompartment.horizontalIndent = 0;
+ constraintFActivityParametersCompartment.horizontalSpan = 1;
+ constraintFActivityParametersCompartment.verticalSpan = 1;
+ constraintFActivityParametersCompartment.grabExcessHorizontalSpace = true;
+ constraintFActivityParametersCompartment.grabExcessVerticalSpace = false;
+ labelAndParameter1.add(fActivityParametersCompartment, constraintFActivityParametersCompartment);
+ fActivityParametersCompartment.setLayoutManager(new StackLayout());
+ RectangleFigure prePostContions1 = new RectangleFigure();
+ // to remove
+ prePostContions1.setBackgroundColor(ColorConstants.cyan);
+ prePostContions1.setFill(false);
+ prePostContions1.setOutline(false);
+ prePostContions1.setLineWidth(0);
+ GridData constraintPrePostContions1 = new GridData();
+ constraintPrePostContions1.verticalAlignment = GridData.CENTER;
+ constraintPrePostContions1.horizontalAlignment = GridData.BEGINNING;
+ constraintPrePostContions1.horizontalIndent = 0;
+ constraintPrePostContions1.horizontalSpan = 1;
+ constraintPrePostContions1.verticalSpan = 1;
+ constraintPrePostContions1.grabExcessHorizontalSpace = true;
+ constraintPrePostContions1.grabExcessVerticalSpace = false;
+ activityBorderFigure0.add(prePostContions1, constraintPrePostContions1);
+ GridLayout layoutPrePostContions1 = new GridLayout();
+ layoutPrePostContions1.numColumns = 1;
+ layoutPrePostContions1.makeColumnsEqualWidth = true;
+ prePostContions1.setLayoutManager(layoutPrePostContions1);
+ fActivityPreconditionsCompartment = new RectangleFigure();
+ fActivityPreconditionsCompartment.setBackgroundColor(ColorConstants.darkBlue);
+ fActivityPreconditionsCompartment.setFill(false);
+ fActivityPreconditionsCompartment.setOutline(false);
+ fActivityPreconditionsCompartment.setLineWidth(0);
+ GridData constraintFActivityPreconditionsCompartment = new GridData();
+ constraintFActivityPreconditionsCompartment.verticalAlignment = GridData.CENTER;
+ constraintFActivityPreconditionsCompartment.horizontalAlignment = GridData.BEGINNING;
+ constraintFActivityPreconditionsCompartment.horizontalIndent = 0;
+ constraintFActivityPreconditionsCompartment.horizontalSpan = 1;
+ constraintFActivityPreconditionsCompartment.verticalSpan = 1;
+ constraintFActivityPreconditionsCompartment.grabExcessHorizontalSpace = true;
+ constraintFActivityPreconditionsCompartment.grabExcessVerticalSpace = false;
+ prePostContions1.add(fActivityPreconditionsCompartment, constraintFActivityPreconditionsCompartment);
+ fActivityPreconditionsCompartment.setLayoutManager(new StackLayout());
+ fActivityPostconditionsCompartment = new RectangleFigure();
+ fActivityPostconditionsCompartment.setFill(false);
+ fActivityPostconditionsCompartment.setOutline(false);
+ fActivityPostconditionsCompartment.setLineWidth(0);
+ GridData constraintFActivityPostconditionsCompartment = new GridData();
+ constraintFActivityPostconditionsCompartment.verticalAlignment = GridData.CENTER;
+ constraintFActivityPostconditionsCompartment.horizontalAlignment = GridData.BEGINNING;
+ constraintFActivityPostconditionsCompartment.horizontalIndent = 0;
+ constraintFActivityPostconditionsCompartment.horizontalSpan = 1;
+ constraintFActivityPostconditionsCompartment.verticalSpan = 1;
+ constraintFActivityPostconditionsCompartment.grabExcessHorizontalSpace = true;
+ constraintFActivityPostconditionsCompartment.grabExcessVerticalSpace = false;
+ prePostContions1.add(fActivityPostconditionsCompartment, constraintFActivityPostconditionsCompartment);
+ fActivityPostconditionsCompartment.setLayoutManager(new StackLayout());
+ fHeaderSingleExecution = new WrappingLabel();
+ fHeaderSingleExecution.setText("");
+ GridData constraintFHeaderSingleExecution = new GridData();
+ constraintFHeaderSingleExecution.verticalAlignment = GridData.CENTER;
+ constraintFHeaderSingleExecution.horizontalAlignment = GridData.BEGINNING;
+ constraintFHeaderSingleExecution.horizontalIndent = 0;
+ constraintFHeaderSingleExecution.horizontalSpan = 1;
+ constraintFHeaderSingleExecution.verticalSpan = 2;
+ constraintFHeaderSingleExecution.grabExcessHorizontalSpace = false;
+ constraintFHeaderSingleExecution.grabExcessVerticalSpace = false;
+ activityBorderFigure0.add(fHeaderSingleExecution, constraintFHeaderSingleExecution);
+ fCompartmentFigure = new RectangleFigure();
+ fCompartmentFigure.setFill(false);
+ fCompartmentFigure.setOutline(false);
+ fCompartmentFigure.setLineWidth(0);
+ GridData constraintFCompartmentFigure = new GridData();
+ constraintFCompartmentFigure.verticalAlignment = GridData.FILL;
+ constraintFCompartmentFigure.horizontalAlignment = GridData.FILL;
+ constraintFCompartmentFigure.horizontalIndent = 0;
+ constraintFCompartmentFigure.horizontalSpan = 3;
+ constraintFCompartmentFigure.verticalSpan = 1;
+ constraintFCompartmentFigure.grabExcessHorizontalSpace = true;
+ constraintFCompartmentFigure.grabExcessVerticalSpace = true;
+ activityBorderFigure0.add(fCompartmentFigure, constraintFCompartmentFigure);
+ }
+
+ /**
+ * @generated
+ */
+ public WrappingLabel getHeaderLabel() {
+ return fHeaderLabel;
+ }
+
+ /**
+ * @generated
+ */
+ public RectangleFigure getActivityParametersCompartment() {
+ return fActivityParametersCompartment;
+ }
+
+ /**
+ * @generated
+ */
+ public RectangleFigure getActivityPreconditionsCompartment() {
+ return fActivityPreconditionsCompartment;
+ }
+
+ /**
+ * @generated
+ */
+ public RectangleFigure getActivityPostconditionsCompartment() {
+ return fActivityPostconditionsCompartment;
+ }
+
+ /**
+ * @generated
+ */
+ public WrappingLabel getHeaderSingleExecution() {
+ return fHeaderSingleExecution;
+ }
+
+ /**
+ * @generated
+ */
+ public RectangleFigure getCompartmentFigure() {
+ return fCompartmentFigure;
+ }
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/ActivityPartitionFigure.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/ActivityPartitionFigure.java
index 79200705816..1fcc2c82b53 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/ActivityPartitionFigure.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/ActivityPartitionFigure.java
@@ -1,64 +1,48 @@
-/*****************************************************************************
- * Copyright (c) 2009 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
- * Arthur Daussy - 372745: [ActivityDiagram] Major refactoring group framework
- *****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.activity.figures;
-
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.draw2d.Graphics;
-import org.eclipse.draw2d.LineBorder;
-import org.eclipse.draw2d.RectangleFigure;
-import org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel;
-import org.eclipse.papyrus.uml.diagram.common.figure.node.CompartmentFigure;
-
-/**
- * Figure an activity partition
- */
-public class ActivityPartitionFigure extends CompartmentFigure {
-
- /**
- * TODO set those to constants into preference store
- */
- private static final int TRANSPARENCY = 50;
-
- private static final int APLPHA = 50;
-
- private static final String ACTIVITY_CONTENT_COMPARTMENT = "ActivityContentCompartment";
-
- public ActivityPartitionFigure(List<String> compartmentFigure) {
- super(compartmentFigure);
- }
-
- public ActivityPartitionFigure() {
- super(Collections.singletonList(ACTIVITY_CONTENT_COMPARTMENT));
- this.setOpaque(false);
- getActivityPartitionCompartment().setOpaque(false);
- getActivityPartitionCompartment().setBorder(new LineBorder());
- }
-
- @Override
- public void paintFigure(Graphics graphics) {
- setTransparency(TRANSPARENCY);
- graphics.setAlpha(APLPHA);
- super.paintFigure(graphics);
- }
-
- public RectangleFigure getActivityPartitionCompartment() {
- return getCompartment(ACTIVITY_CONTENT_COMPARTMENT);
- }
-
- public WrappingLabel getPartitionLabel() {
- return getNameLabel();
- }
-}
+/*****************************************************************************
+ * Copyright (c) 2009 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
+ * Arthur Daussy - 372745: [ActivityDiagram] Major refactoring group framework
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.figures;
+
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.draw2d.PositionConstants;
+import org.eclipse.draw2d.RectangleFigure;
+import org.eclipse.gmf.runtime.draw2d.ui.figures.OneLineBorder;
+import org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel;
+import org.eclipse.papyrus.uml.diagram.common.figure.node.RoundedCompartmentFigure;
+
+/**
+ * Figure an activity partition
+ */
+public class ActivityPartitionFigure extends RoundedCompartmentFigure {
+
+ private static final String ACTIVITY_CONTENT_COMPARTMENT = "ActivityContentCompartment";
+
+ public ActivityPartitionFigure(List<String> compartmentFigure) {
+ super(compartmentFigure);
+ }
+
+ public ActivityPartitionFigure() {
+ super(Collections.singletonList(ACTIVITY_CONTENT_COMPARTMENT));
+ getActivityPartitionCompartment().setBorder(new OneLineBorder(1, PositionConstants.TOP));
+ }
+
+ public RectangleFigure getActivityPartitionCompartment() {
+ return getCompartment(ACTIVITY_CONTENT_COMPARTMENT);
+ }
+
+ public WrappingLabel getPartitionLabel() {
+ return getNameLabel();
+ }
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/CallBehaviorActionFigure.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/CallBehaviorActionFigure.java
index 113faed5b7a..28a62ac64d6 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/CallBehaviorActionFigure.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/CallBehaviorActionFigure.java
@@ -1,59 +1,59 @@
-/*****************************************************************************
- * 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
- *
- * Contributors:
- * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.activity.figures;
-
-import org.eclipse.draw2d.Graphics;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.papyrus.uml.diagram.activity.part.UMLDiagramEditorPlugin;
-import org.eclipse.papyrus.uml.diagram.common.Activator;
-import org.eclipse.papyrus.uml.diagram.common.figure.node.PapyrusRoundedNodeFigure;
-import org.eclipse.swt.graphics.Image;
-
-/**
- * this is a specific figure to display the rake of this action
- *
- */
-public class CallBehaviorActionFigure extends PapyrusRoundedNodeFigure {
-
- protected static final String IMAGE_PATH = "/icons/obj16/rake.gif";
-
- protected static final int margin = 5;
-
- protected boolean isDisplayedRake = false;
-
- /**
- * set true to display the rake
- *
- * @param displayRake
- * true to display the rake
- */
- public void displayRake(boolean displayRake) {
- this.isDisplayedRake = displayRake;
- }
-
- @Override
- public void paint(Graphics graphics) {
- // TODO Auto-generated method stub
- super.paint(graphics);
- if (isDisplayedRake) {
- Activator.getDefault();
- Image image = Activator.getPluginIconImage(UMLDiagramEditorPlugin.ID, IMAGE_PATH);
- org.eclipse.draw2d.geometry.Rectangle rect = getBounds();
- Point pt = rect.getBottomRight();
- pt.x = pt.x - image.getBounds().width - margin;
- pt.y = pt.y - image.getBounds().height - margin;
- graphics.drawImage(image, pt);
- }
- }
-}
+/*****************************************************************************
+ * 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
+ *
+ * Contributors:
+ * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.uml.diagram.activity.figures;
+
+import org.eclipse.draw2d.Graphics;
+import org.eclipse.draw2d.geometry.Point;
+import org.eclipse.papyrus.uml.diagram.activity.part.UMLDiagramEditorPlugin;
+import org.eclipse.papyrus.uml.diagram.common.Activator;
+import org.eclipse.papyrus.uml.diagram.common.figure.node.RoundedCompartmentFigure;
+import org.eclipse.swt.graphics.Image;
+
+/**
+ * this is a specific figure to display the rake of this action
+ *
+ */
+public class CallBehaviorActionFigure extends RoundedCompartmentFigure {
+
+ protected static final String IMAGE_PATH = "/icons/obj16/rake.gif";
+
+ protected static final int margin = 5;
+
+ protected boolean isDisplayedRake = false;
+
+ /**
+ * set true to display the rake
+ *
+ * @param displayRake
+ * true to display the rake
+ */
+ public void displayRake(boolean displayRake) {
+ this.isDisplayedRake = displayRake;
+ }
+
+ @Override
+ public void paint(Graphics graphics) {
+ // TODO Auto-generated method stub
+ super.paint(graphics);
+ if (isDisplayedRake) {
+ Activator.getDefault();
+ Image image = Activator.getPluginIconImage(UMLDiagramEditorPlugin.ID, IMAGE_PATH);
+ org.eclipse.draw2d.geometry.Rectangle rect = getBounds();
+ Point pt = rect.getBottomRight();
+ pt.x = pt.x - image.getBounds().width - margin;
+ pt.y = pt.y - image.getBounds().height - margin;
+ graphics.drawImage(image, pt);
+ }
+ }
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/InterruptibleActivityRegionFigure.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/InterruptibleActivityRegionFigure.java
index 633bb9040ad..1e0e55796e6 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/InterruptibleActivityRegionFigure.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/figures/InterruptibleActivityRegionFigure.java
@@ -1,125 +1,368 @@
-/*****************************************************************************
- * Copyright (c) 2010, 2014 Atos Origin, CEA, and others.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms 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
- * Christian W. Damus (CEA) - bug 392301
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.activity.figures;
-
-import org.eclipse.draw2d.Graphics;
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.Label;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gmf.runtime.draw2d.ui.graphics.ColorRegistry;
-import org.eclipse.gmf.runtime.notation.GradientStyle;
-import org.eclipse.papyrus.uml.diagram.common.draw2d.RoundedRectangleDashedBorder;
-import org.eclipse.papyrus.uml.diagram.common.figure.node.IPapyrusNodeUMLElementFigure;
-import org.eclipse.papyrus.uml.diagram.common.figure.node.PapyrusNodeFigure;
-import org.eclipse.papyrus.uml.diagram.common.figure.node.RoundedRectangleDashedShadowBorder;
-import org.eclipse.swt.graphics.Image;
-
-/**
- * This figure handles a rounded dashed rectangle Papyrus node, with no
- * displayed label.
- *
- * @author vhemery
- */
-public class InterruptibleActivityRegionFigure extends PapyrusNodeFigure implements IPapyrusNodeUMLElementFigure, IFigure {
-
- /** the size of the rounded corner */
- private static int ROUNDED_CORNER_SIZE = 8;
-
- /** the size of the rounded corner */
- private static int BORDER_SIZE = 3;
-
- /**
- * Default Constructor.
- */
- public InterruptibleActivityRegionFigure() {
- shadowborder = new RoundedRectangleDashedShadowBorder(BORDER_SIZE, getForegroundColor(), ROUNDED_CORNER_SIZE, ROUNDED_CORNER_SIZE);
- setBorder(shadowborder);
- }
-
- /**
- * Paint figure.
- *
- * @see org.eclipse.papyrus.uml.diagram.common.figure.node.PapyrusNodeFigure#paintFigure(org.eclipse.draw2d.Graphics)
- * @param graphics
- * the graphics
- */
- @Override
- public void paintFigure(Graphics graphics) {
- paintBackground(graphics, getBounds());
- shadowborder.setColor(getForegroundColor());
- }
-
- /**
- * Paint the background of the figure. If this figure uses gradient, then it
- * will paint the background with the gradient informations. Otherwise it
- * will use the background color.
- *
- * @param graphics
- * the graphics
- * @param rectangle
- * the rectangle where the background needs to be fill.
- */
- @Override
- protected void paintBackground(Graphics graphics, Rectangle rectangle) {
- if (isUsingGradient()) {
- applyTransparency(graphics);
- boolean isVertical = (getGradientStyle() == GradientStyle.VERTICAL) ? true : false;
- graphics.setBackgroundColor(ColorRegistry.getInstance().getColor(getGradientColor1()));
- graphics.setForegroundColor(ColorRegistry.getInstance().getColor(getGradientColor2()));
- graphics.fillGradient(rectangle, isVertical);
- } else {
- graphics.setBackgroundColor(getBackgroundColor());
- graphics.setForegroundColor(getForegroundColor());
- // let the figure unfilled to see behind it
- // graphics.fillRectangle(rectangle);
- }
- }
-
- /**
- * set the shadow
- *
- * @param shadow
- * a boolean true if we want to display the shadow
- */
- @Override
- public void setShadow(boolean shadow) {
- super.setShadow(shadow);
- if (!shadow) {
- RoundedRectangleDashedBorder bord = new RoundedRectangleDashedBorder(ROUNDED_CORNER_SIZE, ROUNDED_CORNER_SIZE);
- this.setBorder(bord);
- }
- }
-
- @Override
- public void setStereotypeDisplay(String stereotypes, Image image) {
- // TODO Auto-generated method stub
- }
-
- @Override
- public void setStereotypePropertiesInBrace(String stereotypeProperties) {
- // TODO Auto-generated method stub
- }
-
- @Override
- public void setStereotypePropertiesInCompartment(String stereotypeProperties) {
- // TODO Auto-generated method stub
- }
-
- @Override
- public Label getStereotypesLabel() {
- // TODO Auto-generated method stub
- return null;
- }
-}
+/*****************************************************************************
+ * Copyright (c) 2010, 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:
+ * Mickael ADAM (ALL4TEC) mickael.adam@all4tec.net - Initial API and Implementation
+ *
+ *****************************************************************************/
+
+package org.eclipse.papyrus.uml.diagram.activity.figures;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.eclipse.draw2d.Graphics;
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.Label;
+import org.eclipse.draw2d.RectangleFigure;
+import org.eclipse.draw2d.geometry.Dimension;
+import org.eclipse.draw2d.geometry.Insets;
+import org.eclipse.draw2d.geometry.Rectangle;
+import org.eclipse.gmf.runtime.draw2d.ui.figures.RoundedRectangleBorder;
+import org.eclipse.gmf.runtime.draw2d.ui.graphics.ColorRegistry;
+import org.eclipse.gmf.runtime.notation.GradientStyle;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.IRoundedRectangleFigure;
+import org.eclipse.papyrus.infra.gmfdiag.common.figure.node.RoundedRectangleShadowBorder;
+import org.eclipse.papyrus.uml.diagram.common.figure.node.AutomaticCompartmentLayoutManager;
+import org.eclipse.papyrus.uml.diagram.common.figure.node.IPapyrusNodeUMLElementFigure;
+import org.eclipse.papyrus.uml.diagram.common.figure.node.PapyrusNodeFigure;
+import org.eclipse.papyrus.uml.diagram.common.figure.node.SubCompartmentLayoutManager;
+import org.eclipse.swt.graphics.Image;
+
+/**
+ * This figure handles a rounded dashed rectangle Papyrus node, with no
+ * displayed label.
+ *
+ * @author madam
+ */
+public class InterruptibleActivityRegionFigure extends PapyrusNodeFigure implements IPapyrusNodeUMLElementFigure, IFigure, IRoundedRectangleFigure {
+
+ /** The container figures. */
+ private Map<String, RectangleFigure> containerFigures;
+
+ /** The corner dimension. */
+ private Dimension cornerDimension = new Dimension();
+
+ /** The is oval. */
+ private boolean isOval;
+
+ /** The is label constrained. */
+ private boolean isLabelConstrained;
+
+ private Dimension floatingNameOffset = new Dimension();
+
+ private int borderStyle = Graphics.LINE_SOLID;
+
+ /**
+ * @param borderStyle
+ * the borderStyle to set
+ */
+ public void setBorderStyle(int borderStyle) {
+ this.borderStyle = borderStyle;
+ if (shadowborder != null) {
+ shadowborder.setStyle(borderStyle);
+ }
+ }
+
+ /**
+ * Instantiates a new rounded compartment figure.
+ */
+ public InterruptibleActivityRegionFigure() {
+ this(null, null);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param compartmentFigure
+ * the compartment figure
+ */
+ public InterruptibleActivityRegionFigure(List<String> compartmentFigure) {
+ this(compartmentFigure, null);
+ }
+
+ /**
+ * Constructor with a tagged value.
+ *
+ * @param compartmentFigure
+ * a list of id for the compartment figure
+ * @param taggedLabelValue
+ * the value to display as tagged value
+ */
+ public InterruptibleActivityRegionFigure(List<String> compartmentFigure, String taggedLabelValue) {
+ super();
+ setOpaque(false);
+ shadowborder = new RoundedRectangleShadowBorder(getForegroundColor(), cornerDimension);
+
+ if (compartmentFigure != null) {
+ setLayoutManager(new AutomaticCompartmentLayoutManager());
+ createContentPane(compartmentFigure);
+ }
+ }
+
+ /**
+ * Creates the content pane.
+ *
+ * @param compartmentFigure
+ * the compartment figure
+ */
+ protected void createContentPane(List<String> compartmentFigure) {
+ containerFigures = new HashMap<String, RectangleFigure>();
+ for (String id : compartmentFigure) {
+ RectangleFigure newFigure = new RectangleFigure();
+ newFigure.setLayoutManager(new SubCompartmentLayoutManager());
+ // to debug graphically: newFigure.setFill(true);
+ newFigure.setFill(false);
+ newFigure.setBorder(null);
+ newFigure.setOutline(false);
+ newFigure.setOpaque(false);
+ this.add(newFigure);
+ containerFigures.put(id, newFigure);
+ }
+ }
+
+ /**
+ * Get the RectangleFigure containing the wanted compartment.
+ *
+ * @param id
+ * the id to find the right compartment
+ * @return the RectangleFigure
+ */
+ public RectangleFigure getCompartment(String id) {
+ return containerFigures.get(id);
+ }
+
+ /**
+ * @see org.eclipse.papyrus.infra.gmfdiag.common.figure.node.IRoundedRectangleFigure#getCornerDimensions()
+ *
+ * @return
+ */
+ @Override
+ public Dimension getCornerDimensions() {
+ return cornerDimension;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.infra.gmfdiag.common.figure.node.IRoundedRectangleFigure#getRoundedRectangleBounds()
+ *
+ * @return
+ */
+ @Override
+ public Rectangle getRoundedRectangleBounds() {
+ return getBounds();
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public void paintFigure(Graphics graphics) {
+ shadowborder.setColor(getForegroundColor());
+ graphics.pushState();
+ Rectangle rectangle = getBounds().getCopy();
+ // Set the corner dimension if is oval in case of resizing
+ if (isOval) {
+ cornerDimension.width = rectangle.width;
+ cornerDimension.height = rectangle.height;
+ }
+ // paintBackground:
+ applyTransparency(graphics);
+ if (isUsingGradient()) {
+ boolean isVertical = (getGradientStyle() == GradientStyle.VERTICAL) ? true : false;
+ if (isVertical && rectangle.height > ((3 * cornerDimension.height) / 2)) {
+ Rectangle upperBounds = getBounds().getCopy();
+ upperBounds.height = cornerDimension.height - getLineWidth() / 2;
+ upperBounds.y += getLineWidth() / 2;
+ Rectangle upperClip = upperBounds.getCopy().shrink(new Insets(0, 0, cornerDimension.height / 2, 0));
+ Rectangle lowerBounds = getBounds().getCopy();
+ lowerBounds.y = lowerBounds.bottom() - cornerDimension.height;
+ lowerBounds.height = cornerDimension.height - getLineWidth() / 2;
+ Rectangle lowerClip = lowerBounds.getCopy().shrink(new Insets(cornerDimension.height / 2, 0, 0, 0));
+ Rectangle innerBounds = getBounds().getCopy();
+ innerBounds.y = upperClip.bottom();
+ innerBounds.height = lowerClip.y - upperClip.bottom() + 1;
+ // fill the upper part
+ graphics.pushState();
+ graphics.setBackgroundColor(ColorRegistry.getInstance().getColor(getGradientColor2()));
+ graphics.clipRect(upperClip);
+ graphics.fillRoundRectangle(upperBounds, cornerDimension.width, cornerDimension.height);
+ graphics.popState();
+ // fill the inner part
+ graphics.pushState();
+ graphics.setForegroundColor(ColorRegistry.getInstance().getColor(getGradientColor2()));
+ graphics.setBackgroundColor(ColorRegistry.getInstance().getColor(getGradientColor1()));
+ graphics.fillGradient(innerBounds, true);
+ graphics.popState();
+ // fill the lower part
+ graphics.pushState();
+ graphics.setBackgroundColor(ColorRegistry.getInstance().getColor(getGradientColor1()));
+ graphics.clipRect(lowerClip);
+ graphics.fillRoundRectangle(lowerBounds, cornerDimension.width, cornerDimension.height);
+ graphics.popState();
+ } else if (!isVertical && rectangle.width > ((3 * cornerDimension.width) / 2)) {
+ Rectangle leftBounds = getBounds().getCopy();
+ leftBounds.width = cornerDimension.width - getLineWidth() / 2;
+ leftBounds.x += getLineWidth() / 2;
+ Rectangle leftClip = leftBounds.getCopy().shrink(new Insets(0, 0, 0, cornerDimension.width / 2));
+ Rectangle rightBounds = getBounds().getCopy();
+ rightBounds.x = rightBounds.right() - cornerDimension.width;
+ rightBounds.width = cornerDimension.width - getLineWidth() / 2;
+ Rectangle rightClip = rightBounds.getCopy().shrink(new Insets(0, cornerDimension.width / 2, 0, 0));
+ Rectangle innerBounds = getBounds().getCopy();
+ innerBounds.x = leftClip.right();// - getLineWidth();
+ innerBounds.width = rightClip.x - leftClip.right() + 1;// + 2 * getLineWidth();
+ // fill the left part
+ graphics.pushState();
+ graphics.setBackgroundColor(ColorRegistry.getInstance().getColor(getGradientColor2()));
+ graphics.clipRect(leftClip);
+ graphics.fillRoundRectangle(leftBounds, cornerDimension.width, cornerDimension.height);
+ graphics.popState();
+ // fill the inner part
+ graphics.pushState();
+ graphics.setBackgroundColor(ColorRegistry.getInstance().getColor(getGradientColor1()));
+ graphics.setForegroundColor(ColorRegistry.getInstance().getColor(getGradientColor2()));
+ graphics.fillGradient(innerBounds, false);
+ graphics.popState();
+ // fill the right part
+ graphics.pushState();
+ graphics.setBackgroundColor(ColorRegistry.getInstance().getColor(getGradientColor1()));
+ graphics.clipRect(rightClip);
+ graphics.fillRoundRectangle(rightBounds, cornerDimension.width, cornerDimension.height);
+ graphics.popState();
+ } else {
+ graphics.pushState();
+ graphics.setBackgroundColor(ColorRegistry.getInstance().getColor(getGradientColor1()));
+ graphics.setForegroundColor(ColorRegistry.getInstance().getColor(getGradientColor2()));
+ graphics.fillRoundRectangle(rectangle, cornerDimension.width, cornerDimension.height);
+ graphics.popState();
+ }
+ } else {
+ graphics.pushState();
+ graphics.setBackgroundColor(getBackgroundColor());
+ graphics.setForegroundColor(getForegroundColor());
+ graphics.fillRoundRectangle(rectangle, cornerDimension.width, cornerDimension.height);
+ graphics.popState();
+ }
+ graphics.popState();
+ // Force to repaint the border thought setShadow()
+ setShadow(isShadow());
+ repaint();
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.common.figure.node.PapyrusNodeFigure#setShadow(boolean)
+ *
+ * @param shadow
+ */
+ @Override
+ public void setShadow(boolean shadow) {
+ super.setShadow(shadow);
+ if (!shadow) {
+ // If shadow is set to false on CSS file we set the border
+ if (getBorder() != null) {
+ RoundedRectangleBorder border = new RoundedRectangleBorder(cornerDimension.width, cornerDimension.height);
+ border.setWidth(getLineWidth());
+ border.setStyle(borderStyle);
+ this.setBorder(border);
+ }
+ }
+ }
+
+ /**
+ * Sets the corner dimension.
+ *
+ * @param cornerDimension
+ * the new corner dimension
+ */
+ @Override
+ public void setCornerDimensions(Dimension cornerDimension) {
+ this.cornerDimension = cornerDimension;
+ }
+
+ @Override
+ public void setOval(boolean booleanValue) {
+ isOval = booleanValue;
+ if (booleanValue) {
+ Rectangle rectangle = getBounds().getCopy();
+ cornerDimension.width = rectangle.width;
+ cornerDimension.height = rectangle.height;
+ }
+ }
+
+ @Override
+ public boolean isOval() {
+ return isOval;
+ }
+
+ @Override
+ public void setFloatingNameConstrained(boolean booleanValue) {
+ isLabelConstrained = booleanValue;
+ }
+
+ @Override
+ public boolean isFloatingNameConstrained() {
+ return isLabelConstrained;
+ }
+
+ @Override
+ public void setFloatingNameOffset(Dimension offset) {
+ this.floatingNameOffset = offset;
+
+ }
+
+ @Override
+ public Dimension getFloatingNameOffset() {
+ return floatingNameOffset;
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.common.figure.node.IPapyrusUMLElementFigure#setStereotypeDisplay(java.lang.String, org.eclipse.swt.graphics.Image)
+ *
+ * @param stereotypes
+ * @param image
+ */
+ @Override
+ public void setStereotypeDisplay(String stereotypes, Image image) {
+ // TODO Auto-generated method stub
+
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.common.figure.node.IPapyrusNodeUMLElementFigure#setStereotypePropertiesInBrace(java.lang.String)
+ *
+ * @param stereotypeProperties
+ */
+ @Override
+ public void setStereotypePropertiesInBrace(String stereotypeProperties) {
+ // TODO Auto-generated method stub
+
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.common.figure.node.IPapyrusNodeUMLElementFigure#setStereotypePropertiesInCompartment(java.lang.String)
+ *
+ * @param stereotypeProperties
+ */
+ @Override
+ public void setStereotypePropertiesInCompartment(String stereotypeProperties) {
+ // TODO Auto-generated method stub
+
+ }
+
+ /**
+ * @see org.eclipse.papyrus.uml.diagram.common.figure.node.IPapyrusNodeUMLElementFigure#getStereotypesLabel()
+ *
+ * @return
+ */
+ @Override
+ public Label getStereotypesLabel() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/model/activityDiagram.gmfgen b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/model/activityDiagram.gmfgen
index 5aa284933f9..5e858dc842f 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/model/activityDiagram.gmfgen
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/model/activityDiagram.gmfgen
@@ -1,5180 +1,18329 @@
<?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:gmfgen="http://www.eclipse.org/gmf/2009/GenModel" xmlns:papyrusgmfgenextension="http://www.eclipse.org/papyrus/2009/papyrusgmfgenextension">
- <gmfgen:GenEditorGenerator packageNamePrefix="org.eclipse.papyrus.uml.diagram.activity" modelID="PapyrusUMLActivityDiagram" domainFileExtension="PapyrusUMLActivity" dynamicTemplates="true" templateDirectory="/org.eclipse.papyrus.def/dynamic-templates3.5/codegen">
+<xmi:XMI
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:gmfgen="http://www.eclipse.org/gmf/2009/GenModel"
+ xmlns:papyrusgmfgenextension="http://www.eclipse.org/papyrus/2009/papyrusgmfgenextension">
+ <gmfgen:GenEditorGenerator
+ packageNamePrefix="org.eclipse.papyrus.uml.diagram.activity"
+ modelID="PapyrusUMLActivityDiagram"
+ domainFileExtension="PapyrusUMLActivity"
+ dynamicTemplates="true"
+ templateDirectory="/org.eclipse.papyrus.def/dynamic-templates3.5/codegen">
<audits>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validate" name="validateUMLModel" description="Validate the UML model" path="/0/@audits/@categories.0"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateInitialNode" name="validateInitialNode" description="Validate an initial node" path="/0/@audits/@categories.0 /0/@audits/@categories.1" audits="/0/@audits/@rules.0 /0/@audits/@rules.1"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateFinalNode" name="validateFinalNode" description="Validate a final node" path="/0/@audits/@categories.0 /0/@audits/@categories.2" audits="/0/@audits/@rules.2"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateCallBehaviorAction" name="validateCallBehaviorAction" description="Validate a call behavior action" path="/0/@audits/@categories.0 /0/@audits/@categories.3"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateCallOperationAction" name="validateCallOperationAction" description="Validate a call operation action" path="/0/@audits/@categories.0 /0/@audits/@categories.4"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateCallAction" name="validateCallAction" description="Validate a call action" path="/0/@audits/@categories.0 /0/@audits/@categories.5"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateInvocationAction" name="validateInvocationAction" description="Validate an invocation action" path="/0/@audits/@categories.0 /0/@audits/@categories.6"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityNode" name="validateActivityNode" description="Validate an activity node" path="/0/@audits/@categories.0 /0/@audits/@categories.7"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateRedefinableElement" name="validateRedefinableElement" description="Validate a redefineable element" path="/0/@audits/@categories.0 /0/@audits/@categories.8"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateNamedElement" name="validateNamedElement" description="Validate a named element" path="/0/@audits/@categories.0 /0/@audits/@categories.9"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateElement" name="validateElement" description="Validate an element" path="/0/@audits/@categories.0 /0/@audits/@categories.10"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectNode" name="validateObjectNode" description="Validate an object node" path="/0/@audits/@categories.0 /0/@audits/@categories.11" audits="/0/@audits/@rules.3 /0/@audits/@rules.4 /0/@audits/@rules.5 /0/@audits/@rules.6"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateMultiplicityElement" name="validateMultiplicityElement" description="Validate a multilicity element" path="/0/@audits/@categories.0 /0/@audits/@categories.12"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validatePin" name="validatePin" description="Validate a pin" path="/0/@audits/@categories.0 /0/@audits/@categories.13" audits="/0/@audits/@rules.7"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateInputPin" name="validateInputPin" description="Validate an input pin" path="/0/@audits/@categories.0 /0/@audits/@categories.14" audits="/0/@audits/@rules.8"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateActionInputPin" name="validateActionInputPin" description="Validate an action input pin" path="/0/@audits/@categories.0 /0/@audits/@categories.15" audits="/0/@audits/@rules.9 /0/@audits/@rules.10 /0/@audits/@rules.11"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateValuePin" name="validateValuePin" description="Validate a value pin" path="/0/@audits/@categories.0 /0/@audits/@categories.16" audits="/0/@audits/@rules.12 /0/@audits/@rules.13"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateOutputPin" name="validateOutputPin" description="Validate an output pin" path="/0/@audits/@categories.0 /0/@audits/@categories.17" audits="/0/@audits/@rules.14"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityEdge" name="validateActivityEdge" description="Validate an activity edge" path="/0/@audits/@categories.0 /0/@audits/@categories.18" audits="/0/@audits/@rules.15 /0/@audits/@rules.16 /0/@audits/@rules.17 /0/@audits/@rules.18 /0/@audits/@rules.65"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow" name="validateObjectFlow" description="Validate an object flow" path="/0/@audits/@categories.0 /0/@audits/@categories.19" audits="/0/@audits/@rules.19 /0/@audits/@rules.20 /0/@audits/@rules.21 /0/@audits/@rules.22 /0/@audits/@rules.23 /0/@audits/@rules.24 /0/@audits/@rules.25 /0/@audits/@rules.26"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateControlFlow" name="validateControlFlow" description="Validate a control flow" path="/0/@audits/@categories.0 /0/@audits/@categories.20" audits="/0/@audits/@rules.27"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode" name="validateDecisionNode" description="Validate a decision node" path="/0/@audits/@categories.0 /0/@audits/@categories.21" audits="/0/@audits/@rules.28 /0/@audits/@rules.29 /0/@audits/@rules.30 /0/@audits/@rules.31 /0/@audits/@rules.32 /0/@audits/@rules.33 /0/@audits/@rules.34 /0/@audits/@rules.35"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateMergeNode" name="validateMergeNode" description="Validate a merge node" path="/0/@audits/@categories.0 /0/@audits/@categories.22" audits="/0/@audits/@rules.36 /0/@audits/@rules.37"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateForkNode" name="validateForkNode" description="Validate a fork node" path="/0/@audits/@categories.0 /0/@audits/@categories.23" audits="/0/@audits/@rules.38 /0/@audits/@rules.39"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateJoinNode" name="validateJoinNode" description="Validate a join node" path="/0/@audits/@categories.0 /0/@audits/@categories.24" audits="/0/@audits/@rules.40 /0/@audits/@rules.41"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityParameterNode" name="validateActivityParameterNode" description="Validate an activity parameter node" path="/0/@audits/@categories.0 /0/@audits/@categories.25" audits="/0/@audits/@rules.42"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateCreateObjectActionClassifier" name="validateCreateObjectActionClassifier" description="Valide classifier for CreateObjectAction" path="/0/@audits/@categories.0 /0/@audits/@categories.26" audits="/0/@audits/@rules.43 /0/@audits/@rules.44"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validaterReadStructuralFeatureAction" name="validateReadStructuralfeatureAction" description="Constraints for Structural Feature Action" path="/0/@audits/@categories.0 /0/@audits/@categories.27" audits="/0/@audits/@rules.45"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateAddStructuralFeatureValueAction" name="validateAddStructuralFeatureValueAction" description="Constraint for AddStructuralFeatureValueAction" path="/0/@audits/@categories.0 /0/@audits/@categories.28" audits="/0/@audits/@rules.46 /0/@audits/@rules.47 /0/@audits/@rules.48 /0/@audits/@rules.49"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateDestroyObjectAction" name="validateDestroyObjectAction" description="Constraint for DestroyObjectAction" path="/0/@audits/@categories.0 /0/@audits/@categories.29" audits="/0/@audits/@rules.50"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateStructuralFeatureAction" name="validateStructuralfeatureAction" description="Constraint for StructuralFeatureAction" path="/0/@audits/@categories.0 /0/@audits/@categories.30" audits="/0/@audits/@rules.51 /0/@audits/@rules.52 /0/@audits/@rules.53 /0/@audits/@rules.54"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateAddVariableValueAction" name="validateAddvariablevalueAction" description="Constraint for AddVariableValueAction" path="/0/@audits/@categories.0 /0/@audits/@categories.31" audits="/0/@audits/@rules.55"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateWriteVariableAction" name="validateWriteVariableAction" description="Constraint for WriteVariableAction" path="/0/@audits/@categories.0 /0/@audits/@categories.32" audits="/0/@audits/@rules.56 /0/@audits/@rules.57"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateVariableAction" name="validateVariableAction" description="Constraint for VariableAction" path="/0/@audits/@categories.0 /0/@audits/@categories.33" audits="/0/@audits/@rules.58"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateReadVariableAction" name="validateReadVariableAction" description="Constraint for ReadVariableAction" path="/0/@audits/@categories.0 /0/@audits/@categories.34" audits="/0/@audits/@rules.59 /0/@audits/@rules.60"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateBroacastSignalAction" name="validateBroadcastSignalActionTODO" description="Constraint for BraodcastSignalAction" path="/0/@audits/@categories.0 /0/@audits/@categories.35"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateExceptionHandler_validateExceptionHandler" name="validateExceptionHandler" description="Constraint Exception Handler" path="/0/@audits/@categories.10" audits="/0/@audits/@rules.61 /0/@audits/@rules.63 /0/@audits/@rules.64"/>
- <categories id="org.eclipse.uml2.uml.util.UMLValidator.validateInterruptibleEdge" name="validateInterruptibleEdge" description="Constraint for interruptible Edge" path="/0/@audits/@categories.10" audits="/0/@audits/@rules.62"/>
- <rules name="validateNoIncomingEdges" description="An initial node has no incoming edge" id="org.eclipse.uml2.uml.util.UMLValidator.validateInitialNode_validateNoIncomingEdges" rule="/0/@expressionProviders/@providers.1/@expressions.36" message="An initial node must have no incoming edge" useInLiveMode="true" category="/0/@audits/@categories.1">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InitialNode"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validate"
+ name="validateUMLModel"
+ description="Validate the UML model"
+ path="/0/@audits/@categories.0"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateInitialNode"
+ name="validateInitialNode"
+ description="Validate an initial node"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.1"
+ audits="/0/@audits/@rules.0 /0/@audits/@rules.1"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateFinalNode"
+ name="validateFinalNode"
+ description="Validate a final node"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.2"
+ audits="/0/@audits/@rules.2"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateCallBehaviorAction"
+ name="validateCallBehaviorAction"
+ description="Validate a call behavior action"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.3"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateCallOperationAction"
+ name="validateCallOperationAction"
+ description="Validate a call operation action"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.4"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateCallAction"
+ name="validateCallAction"
+ description="Validate a call action"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.5"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateInvocationAction"
+ name="validateInvocationAction"
+ description="Validate an invocation action"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.6"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityNode"
+ name="validateActivityNode"
+ description="Validate an activity node"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.7"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateRedefinableElement"
+ name="validateRedefinableElement"
+ description="Validate a redefineable element"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.8"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateNamedElement"
+ name="validateNamedElement"
+ description="Validate a named element"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.9"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateElement"
+ name="validateElement"
+ description="Validate an element"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.10"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectNode"
+ name="validateObjectNode"
+ description="Validate an object node"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.11"
+ audits="/0/@audits/@rules.3 /0/@audits/@rules.4 /0/@audits/@rules.5 /0/@audits/@rules.6"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateMultiplicityElement"
+ name="validateMultiplicityElement"
+ description="Validate a multilicity element"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.12"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validatePin"
+ name="validatePin"
+ description="Validate a pin"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.13"
+ audits="/0/@audits/@rules.7"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateInputPin"
+ name="validateInputPin"
+ description="Validate an input pin"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.14"
+ audits="/0/@audits/@rules.8"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateActionInputPin"
+ name="validateActionInputPin"
+ description="Validate an action input pin"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.15"
+ audits="/0/@audits/@rules.9 /0/@audits/@rules.10 /0/@audits/@rules.11"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateValuePin"
+ name="validateValuePin"
+ description="Validate a value pin"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.16"
+ audits="/0/@audits/@rules.12 /0/@audits/@rules.13"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateOutputPin"
+ name="validateOutputPin"
+ description="Validate an output pin"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.17"
+ audits="/0/@audits/@rules.14"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityEdge"
+ name="validateActivityEdge"
+ description="Validate an activity edge"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.18"
+ audits="/0/@audits/@rules.15 /0/@audits/@rules.16 /0/@audits/@rules.17 /0/@audits/@rules.18 /0/@audits/@rules.65"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow"
+ name="validateObjectFlow"
+ description="Validate an object flow"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.19"
+ audits="/0/@audits/@rules.19 /0/@audits/@rules.20 /0/@audits/@rules.21 /0/@audits/@rules.22 /0/@audits/@rules.23 /0/@audits/@rules.24 /0/@audits/@rules.25 /0/@audits/@rules.26"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateControlFlow"
+ name="validateControlFlow"
+ description="Validate a control flow"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.20"
+ audits="/0/@audits/@rules.27"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode"
+ name="validateDecisionNode"
+ description="Validate a decision node"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.21"
+ audits="/0/@audits/@rules.28 /0/@audits/@rules.29 /0/@audits/@rules.30 /0/@audits/@rules.31 /0/@audits/@rules.32 /0/@audits/@rules.33 /0/@audits/@rules.34 /0/@audits/@rules.35"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateMergeNode"
+ name="validateMergeNode"
+ description="Validate a merge node"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.22"
+ audits="/0/@audits/@rules.36 /0/@audits/@rules.37"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateForkNode"
+ name="validateForkNode"
+ description="Validate a fork node"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.23"
+ audits="/0/@audits/@rules.38 /0/@audits/@rules.39"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateJoinNode"
+ name="validateJoinNode"
+ description="Validate a join node"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.24"
+ audits="/0/@audits/@rules.40 /0/@audits/@rules.41"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityParameterNode"
+ name="validateActivityParameterNode"
+ description="Validate an activity parameter node"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.25"
+ audits="/0/@audits/@rules.42"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateCreateObjectActionClassifier"
+ name="validateCreateObjectActionClassifier"
+ description="Valide classifier for CreateObjectAction"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.26"
+ audits="/0/@audits/@rules.43 /0/@audits/@rules.44"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validaterReadStructuralFeatureAction"
+ name="validateReadStructuralfeatureAction"
+ description="Constraints for Structural Feature Action"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.27"
+ audits="/0/@audits/@rules.45"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateAddStructuralFeatureValueAction"
+ name="validateAddStructuralFeatureValueAction"
+ description="Constraint for AddStructuralFeatureValueAction"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.28"
+ audits="/0/@audits/@rules.46 /0/@audits/@rules.47 /0/@audits/@rules.48 /0/@audits/@rules.49"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateDestroyObjectAction"
+ name="validateDestroyObjectAction"
+ description="Constraint for DestroyObjectAction"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.29"
+ audits="/0/@audits/@rules.50"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateStructuralFeatureAction"
+ name="validateStructuralfeatureAction"
+ description="Constraint for StructuralFeatureAction"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.30"
+ audits="/0/@audits/@rules.51 /0/@audits/@rules.52 /0/@audits/@rules.53 /0/@audits/@rules.54"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateAddVariableValueAction"
+ name="validateAddvariablevalueAction"
+ description="Constraint for AddVariableValueAction"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.31"
+ audits="/0/@audits/@rules.55"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateWriteVariableAction"
+ name="validateWriteVariableAction"
+ description="Constraint for WriteVariableAction"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.32"
+ audits="/0/@audits/@rules.56 /0/@audits/@rules.57"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateVariableAction"
+ name="validateVariableAction"
+ description="Constraint for VariableAction"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.33"
+ audits="/0/@audits/@rules.58"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateReadVariableAction"
+ name="validateReadVariableAction"
+ description="Constraint for ReadVariableAction"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.34"
+ audits="/0/@audits/@rules.59 /0/@audits/@rules.60"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateBroacastSignalAction"
+ name="validateBroadcastSignalActionTODO"
+ description="Constraint for BraodcastSignalAction"
+ path="/0/@audits/@categories.0 /0/@audits/@categories.35"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateExceptionHandler_validateExceptionHandler"
+ name="validateExceptionHandler"
+ description="Constraint Exception Handler"
+ path="/0/@audits/@categories.10"
+ audits="/0/@audits/@rules.61 /0/@audits/@rules.63 /0/@audits/@rules.64"/>
+ <categories
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateInterruptibleEdge"
+ name="validateInterruptibleEdge"
+ description="Constraint for interruptible Edge"
+ path="/0/@audits/@categories.10"
+ audits="/0/@audits/@rules.62"/>
+ <rules
+ name="validateNoIncomingEdges"
+ description="An initial node has no incoming edge"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateInitialNode_validateNoIncomingEdges"
+ rule="/0/@expressionProviders/@providers.1/@expressions.36"
+ message="An initial node must have no incoming edge"
+ useInLiveMode="true"
+ category="/0/@audits/@categories.1">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InitialNode"/>
</target>
</rules>
- <rules name="validateControlEdges" description="Only control edges can have initial nodes as source" id="org.eclipse.uml2.uml.util.UMLValidator.validateInitialNode_validateControlEdges" rule="/0/@expressionProviders/@providers.1/@expressions.37" message="Source of an object flow must not be an initial node" useInLiveMode="true" category="/0/@audits/@categories.1">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
+ <rules
+ name="validateControlEdges"
+ description="Only control edges can have initial nodes as source"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateInitialNode_validateControlEdges"
+ rule="/0/@expressionProviders/@providers.1/@expressions.37"
+ message="Source of an object flow must not be an initial node"
+ useInLiveMode="true"
+ category="/0/@audits/@categories.1">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
</target>
</rules>
- <rules name="validateNoOutgoingEdges" description="A fianl node has no outgoing edge" id="org.eclipse.uml2.uml.util.UMLValidator.validateFinalNode_validateNoOutgoingEdges" rule="/0/@expressionProviders/@providers.1/@expressions.38" message="A final node must have no outgoing edge" useInLiveMode="true" category="/0/@audits/@categories.2">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/FinalNode"/>
+ <rules
+ name="validateNoOutgoingEdges"
+ description="A fianl node has no outgoing edge"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateFinalNode_validateNoOutgoingEdges"
+ rule="/0/@expressionProviders/@providers.1/@expressions.38"
+ message="A final node must have no outgoing edge"
+ useInLiveMode="true"
+ category="/0/@audits/@categories.2">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/FinalNode"/>
</target>
</rules>
- <rules name="validateNotUnique" description="Object nodes are not unique typed elements" id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectNode_validateNotUnique" rule="/0/@expressionProviders/@providers.1/@expressions.39" message="isUnique must be false for object nodes." useInLiveMode="true" category="/0/@audits/@categories.11">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectNode"/>
+ <rules
+ name="validateNotUnique"
+ description="Object nodes are not unique typed elements"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectNode_validateNotUnique"
+ rule="/0/@expressionProviders/@providers.1/@expressions.39"
+ message="isUnique must be false for object nodes."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.11">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectNode"/>
</target>
</rules>
- <rules name="validateSelectionBehavior" description="If an object node has a selection behavior, then the ordering of the object node is ordered, and vice versa." id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectNode_validateSelectionBehavior" rule="/0/@expressionProviders/@providers.1/@expressions.40" message="isOrdered means there is a selection behavior for object nodes." category="/0/@audits/@categories.11">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectNode"/>
+ <rules
+ name="validateSelectionBehavior"
+ description="If an object node has a selection behavior, then the ordering of the object node is ordered, and vice versa."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectNode_validateSelectionBehavior"
+ rule="/0/@expressionProviders/@providers.1/@expressions.40"
+ message="isOrdered means there is a selection behavior for object nodes."
+ category="/0/@audits/@categories.11">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectNode"/>
</target>
</rules>
- <rules name="validateObjectFlowEdges" description="All edges coming into or going out of object nodes must be object flow edges." id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectNode_validateObjectFlowEdges" rule="/0/@expressionProviders/@providers.1/@expressions.41" message="All edges coming into or going out of object nodes must be object flow edges." category="/0/@audits/@categories.11">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectNode"/>
+ <rules
+ name="validateObjectFlowEdges"
+ description="All edges coming into or going out of object nodes must be object flow edges."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectNode_validateObjectFlowEdges"
+ rule="/0/@expressionProviders/@providers.1/@expressions.41"
+ message="All edges coming into or going out of object nodes must be object flow edges."
+ category="/0/@audits/@categories.11">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectNode"/>
</target>
</rules>
- <rules name="validateInputOutputParameter" description="A selection behavior has one input parameter and one output parameter. The input parameter must be a bag of elements of the same type as the object node or a supertype of the type of object node. The output parameter must be the same or a subtype of the type of object node. The behavior cannot have side effects." id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectNode_validateInputOutputParameter" rule="/0/@expressionProviders/@providers.0/@expressions.101" message="The selection behavior of an object node must have one input parameter and one output parameter. The parameters types must be compatible with the object node's type." category="/0/@audits/@categories.11">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectNode"/>
+ <rules
+ name="validateInputOutputParameter"
+ description="A selection behavior has one input parameter and one output parameter. The input parameter must be a bag of elements of the same type as the object node or a supertype of the type of object node. The output parameter must be the same or a subtype of the type of object node. The behavior cannot have side effects."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectNode_validateInputOutputParameter"
+ rule="/0/@expressionProviders/@providers.0/@expressions.101"
+ message="The selection behavior of an object node must have one input parameter and one output parameter. The parameters types must be compatible with the object node's type."
+ category="/0/@audits/@categories.11">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectNode"/>
</target>
</rules>
- <rules name="validateControlPins" description="Control pins have a control type" id="org.eclipse.uml2.uml.util.UMLValidator.validatePin_validateControlPins" rule="/0/@expressionProviders/@providers.1/@expressions.42" message="isControl muts imply isControlType for pins." useInLiveMode="true" category="/0/@audits/@categories.13">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Pin"/>
+ <rules
+ name="validateControlPins"
+ description="Control pins have a control type"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validatePin_validateControlPins"
+ rule="/0/@expressionProviders/@providers.1/@expressions.42"
+ message="isControl muts imply isControlType for pins."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.13">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Pin"/>
</target>
</rules>
- <rules name="validateOutgoingEdgesStructuredOnly" description="Input pins may have outgoing edges only when they are on actions that are structured nodes, and these edges must target a node contained by the structured node." id="org.eclipse.uml2.uml.util.UMLValidator.validateInputPin_validateOutgoingEdgesStructuredOnly" rule="/0/@expressionProviders/@providers.1/@expressions.43" message="Input pins may have outgoing edges only when they are on actions that are structured nodes, and these edges must target a node contained by the structured node." useInLiveMode="true" category="/0/@audits/@categories.14">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InputPin"/>
+ <rules
+ name="validateOutgoingEdgesStructuredOnly"
+ description="Input pins may have outgoing edges only when they are on actions that are structured nodes, and these edges must target a node contained by the structured node."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateInputPin_validateOutgoingEdgesStructuredOnly"
+ rule="/0/@expressionProviders/@providers.1/@expressions.43"
+ message="Input pins may have outgoing edges only when they are on actions that are structured nodes, and these edges must target a node contained by the structured node."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.14">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InputPin"/>
</target>
</rules>
- <rules name="validateOneOutputPin" description="The fromAction of an action input pin must have exactly one output pin." id="org.eclipse.uml2.uml.util.UMLValidator.validateActionInputPin_validateOneOutputPin" rule="/0/@expressionProviders/@providers.1/@expressions.44" message="The fromAction of an action input pin must have exactly one output pin." useInLiveMode="true" category="/0/@audits/@categories.15">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
+ <rules
+ name="validateOneOutputPin"
+ description="The fromAction of an action input pin must have exactly one output pin."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateActionInputPin_validateOneOutputPin"
+ rule="/0/@expressionProviders/@providers.1/@expressions.44"
+ message="The fromAction of an action input pin must have exactly one output pin."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.15">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
</target>
</rules>
- <rules name="validateInputPin" description="The fromAction of an action input pin must only have action input pins as input pins." id="org.eclipse.uml2.uml.util.UMLValidator.validateActionInputPin_validateInputPin" rule="/0/@expressionProviders/@providers.1/@expressions.45" message="The fromAction of an action input pin must only have action input pins as input pins." useInLiveMode="true" category="/0/@audits/@categories.15">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
+ <rules
+ name="validateInputPin"
+ description="The fromAction of an action input pin must only have action input pins as input pins."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateActionInputPin_validateInputPin"
+ rule="/0/@expressionProviders/@providers.1/@expressions.45"
+ message="The fromAction of an action input pin must only have action input pins as input pins."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.15">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
</target>
</rules>
- <rules name="validateNoControlOrDataFlow" description="The fromAction of an action input pin cannot have control or data flows coming into or out of it or its pins." id="org.eclipse.uml2.uml.util.UMLValidator.validateActionInputPin_validateNoControlOrDataFlow" rule="/0/@expressionProviders/@providers.1/@expressions.46" message="The fromAction of an action input pin cannot have control or data flows coming into or out of it or its pins." useInLiveMode="true" category="/0/@audits/@categories.15">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
+ <rules
+ name="validateNoControlOrDataFlow"
+ description="The fromAction of an action input pin cannot have control or data flows coming into or out of it or its pins."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateActionInputPin_validateNoControlOrDataFlow"
+ rule="/0/@expressionProviders/@providers.1/@expressions.46"
+ message="The fromAction of an action input pin cannot have control or data flows coming into or out of it or its pins."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.15">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
</target>
</rules>
- <rules name="validateCompatibleType" description="The type of value specification must be compatible with the type of the value pin." id="org.eclipse.uml2.uml.util.UMLValidator.validateValuePin_validateCompatibleType" rule="/0/@expressionProviders/@providers.0/@expressions.102" message="The type of value specification must be compatible with the type of the value pin." useInLiveMode="true" category="/0/@audits/@categories.16">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ValuePin"/>
+ <rules
+ name="validateCompatibleType"
+ description="The type of value specification must be compatible with the type of the value pin."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateValuePin_validateCompatibleType"
+ rule="/0/@expressionProviders/@providers.0/@expressions.102"
+ message="The type of value specification must be compatible with the type of the value pin."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.16">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ValuePin"/>
</target>
</rules>
- <rules name="validateNoIncomingEdges" description="Value pins have no incoming edges." id="org.eclipse.uml2.uml.util.UMLValidator.validateValuePin_validateNoIncomingEdges" rule="/0/@expressionProviders/@providers.1/@expressions.47" message="Value pins have no incoming edges." useInLiveMode="true" category="/0/@audits/@categories.16">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ValuePin"/>
+ <rules
+ name="validateNoIncomingEdges"
+ description="Value pins have no incoming edges."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateValuePin_validateNoIncomingEdges"
+ rule="/0/@expressionProviders/@providers.1/@expressions.47"
+ message="Value pins have no incoming edges."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.16">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ValuePin"/>
</target>
</rules>
- <rules name="validateIncomingEdgesStructuredOnly" description="Output pins may have incoming edges only when they are on actions that are structured nodes, and these edges may not target a node contained by the structured node." id="org.eclipse.uml2.uml.util.UMLValidator.validateOutputPin_validateIncomingEdgesStructuredOnly" rule="/0/@expressionProviders/@providers.1/@expressions.48" message="Output pins may have incoming edges only when they are on actions that are structured nodes, and these edges may not target a node contained by the structured node." useInLiveMode="true" category="/0/@audits/@categories.17">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OutputPin"/>
+ <rules
+ name="validateIncomingEdgesStructuredOnly"
+ description="Output pins may have incoming edges only when they are on actions that are structured nodes, and these edges may not target a node contained by the structured node."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateOutputPin_validateIncomingEdgesStructuredOnly"
+ rule="/0/@expressionProviders/@providers.1/@expressions.48"
+ message="Output pins may have incoming edges only when they are on actions that are structured nodes, and these edges may not target a node contained by the structured node."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.17">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OutputPin"/>
</target>
</rules>
- <rules name="validateSourceAndTarget" description="The source and target of an edge must be in the same activity as the edge." id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityEdge_validateSourceAndTarget" rule="/0/@expressionProviders/@providers.0/@expressions.103" message="The source and target of an edge must be in the same activity as the edge." useInLiveMode="true" category="/0/@audits/@categories.18">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityEdge"/>
+ <rules
+ name="validateSourceAndTarget"
+ description="The source and target of an edge must be in the same activity as the edge."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityEdge_validateSourceAndTarget"
+ rule="/0/@expressionProviders/@providers.0/@expressions.103"
+ message="The source and target of an edge must be in the same activity as the edge."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.18">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityEdge"/>
</target>
</rules>
- <rules name="validateOwned" description="Activity edges may be owned only by activities or groups." id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityEdge_validateOwned" rule="/0/@expressionProviders/@providers.1/@expressions.49" message="Activity edges may be owned only by activities or groups." useInLiveMode="true" category="/0/@audits/@categories.18">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityEdge"/>
+ <rules
+ name="validateOwned"
+ description="Activity edges may be owned only by activities or groups."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityEdge_validateOwned"
+ rule="/0/@expressionProviders/@providers.1/@expressions.49"
+ message="Activity edges may be owned only by activities or groups."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.18">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityEdge"/>
</target>
</rules>
- <rules name="validateStructuredNode" description="Activity edges may be owned by at most one structured node." id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityEdge_validateStructuredNode" rule="/0/@expressionProviders/@providers.1/@expressions.50" message="Activity edges may be owned by at most one structured node." useInLiveMode="true" category="/0/@audits/@categories.18">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityEdge"/>
+ <rules
+ name="validateStructuredNode"
+ description="Activity edges may be owned by at most one structured node."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityEdge_validateStructuredNode"
+ rule="/0/@expressionProviders/@providers.1/@expressions.50"
+ message="Activity edges may be owned by at most one structured node."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.18">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityEdge"/>
</target>
</rules>
- <rules name="validateHasSourceAndTarget" description="The source and target of an edge must be defined." id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityEdge_validateHasSourceAndTarget" rule="/0/@expressionProviders/@providers.1/@expressions.51" message="The source and target of an edge must be defined." category="/0/@audits/@categories.18">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityEdge"/>
+ <rules
+ name="validateHasSourceAndTarget"
+ description="The source and target of an edge must be defined."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityEdge_validateHasSourceAndTarget"
+ rule="/0/@expressionProviders/@providers.1/@expressions.51"
+ message="The source and target of an edge must be defined."
+ category="/0/@audits/@categories.18">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityEdge"/>
</target>
</rules>
- <rules name="validateNoActions" description="Object flows may not have actions at either end." id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateNoActions" rule="/0/@expressionProviders/@providers.1/@expressions.52" message="You can not link an action with an object flow" useInLiveMode="true" category="/0/@audits/@categories.19">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
+ <rules
+ name="validateNoActions"
+ description="Object flows may not have actions at either end."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateNoActions"
+ rule="/0/@expressionProviders/@providers.1/@expressions.52"
+ message="You can not link an action with an object flow"
+ useInLiveMode="true"
+ category="/0/@audits/@categories.19">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
</target>
</rules>
- <rules name="validateCompatibleTypes" description="Object nodes connected by an object flow, with optionally intervening control nodes, must have compatible types. In particular, the downstream object node type must be the same or a supertype of the upstream object node type" id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateCompatibleTypes" rule="/0/@expressionProviders/@providers.0/@expressions.104" message="The object flow must link object nodes with compatible types (target type must be a supertype of the source type)." useInLiveMode="true" category="/0/@audits/@categories.19">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
+ <rules
+ name="validateCompatibleTypes"
+ description="Object nodes connected by an object flow, with optionally intervening control nodes, must have compatible types. In particular, the downstream object node type must be the same or a supertype of the upstream object node type"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateCompatibleTypes"
+ rule="/0/@expressionProviders/@providers.0/@expressions.104"
+ message="The object flow must link object nodes with compatible types (target type must be a supertype of the source type)."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.19">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
</target>
</rules>
- <rules name="validateSameUpperBounds" description="Object nodes connected by an object flow, with optionally intervening control nodes, must have the same upper bounds." id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateSameUpperBounds" rule="/0/@expressionProviders/@providers.0/@expressions.105" message="The object flow must link object nodes with the same upper bounds." useInLiveMode="true" category="/0/@audits/@categories.19">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
+ <rules
+ name="validateSameUpperBounds"
+ description="Object nodes connected by an object flow, with optionally intervening control nodes, must have the same upper bounds."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateSameUpperBounds"
+ rule="/0/@expressionProviders/@providers.0/@expressions.105"
+ message="The object flow must link object nodes with the same upper bounds."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.19">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
</target>
</rules>
- <rules name="validateTarget" description="An edge with constant weight may not target an object node, or lead to an object node downstream with no intervening actions, that has an upper bound less than the weight." id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateTarget" rule="/0/@expressionProviders/@providers.0/@expressions.106" message="The target object node's upper bounds must be less than the object flow weight" useInLiveMode="true" category="/0/@audits/@categories.19">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
+ <rules
+ name="validateTarget"
+ description="An edge with constant weight may not target an object node, or lead to an object node downstream with no intervening actions, that has an upper bound less than the weight."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateTarget"
+ rule="/0/@expressionProviders/@providers.0/@expressions.106"
+ message="The target object node's upper bounds must be less than the object flow weight"
+ useInLiveMode="true"
+ category="/0/@audits/@categories.19">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
</target>
</rules>
- <rules name="validateTransformationBehaviour" description="A transformation behavior has one input parameter and one output parameter. The input parameter must be the same as or a supertype of the type of object token coming from the source end. The output parameter must be the same or a subtype of the type of object token expected downstream. The behavior cannot have side effects." id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateTransformationBehaviour" rule="/0/@expressionProviders/@providers.0/@expressions.107" message="A transformation behavior has one input parameter and one output parameter. The input parameter must be the same as or a supertype of the type of object token coming from the source end. The output parameter must be the same or a subtype of the type of object token expected downstream. The behavior cannot have side effects." useInLiveMode="true" category="/0/@audits/@categories.19">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
+ <rules
+ name="validateTransformationBehaviour"
+ description="A transformation behavior has one input parameter and one output parameter. The input parameter must be the same as or a supertype of the type of object token coming from the source end. The output parameter must be the same or a subtype of the type of object token expected downstream. The behavior cannot have side effects."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateTransformationBehaviour"
+ rule="/0/@expressionProviders/@providers.0/@expressions.107"
+ message="A transformation behavior has one input parameter and one output parameter. The input parameter must be the same as or a supertype of the type of object token coming from the source end. The output parameter must be the same or a subtype of the type of object token expected downstream. The behavior cannot have side effects."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.19">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
</target>
</rules>
- <rules name="validateSelectionBehaviour" description="An object flow may have a selection behavior only if it has an object node as a source." id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateSelectionBehaviour" rule="/0/@expressionProviders/@providers.1/@expressions.53" message="Selection behavior is authorized only when the object flow's source is an object node." useInLiveMode="true" category="/0/@audits/@categories.19">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
+ <rules
+ name="validateSelectionBehaviour"
+ description="An object flow may have a selection behavior only if it has an object node as a source."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateSelectionBehaviour"
+ rule="/0/@expressionProviders/@providers.1/@expressions.53"
+ message="Selection behavior is authorized only when the object flow's source is an object node."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.19">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
</target>
</rules>
- <rules name="validateInputAndOutputParameter" description="A selection behavior has one input parameter and one output parameter. The input parameter must be a bag of elements of the same as or a supertype of the type of source object node. The output parameter must be the same or a subtype of the type of source object node. The behavior cannot have side effects." id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateInputAndOutputParameter" rule="/0/@expressionProviders/@providers.0/@expressions.108" message="A selection behavior has one input parameter and one output parameter. The input parameter must be a bag of elements of the same as or a supertype of the type of source object node. The output parameter must be the same or a subtype of the type of source object node. The behavior cannot have side effects." useInLiveMode="true" category="/0/@audits/@categories.19">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
+ <rules
+ name="validateInputAndOutputParameter"
+ description="A selection behavior has one input parameter and one output parameter. The input parameter must be a bag of elements of the same as or a supertype of the type of source object node. The output parameter must be the same or a subtype of the type of source object node. The behavior cannot have side effects."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateInputAndOutputParameter"
+ rule="/0/@expressionProviders/@providers.0/@expressions.108"
+ message="A selection behavior has one input parameter and one output parameter. The input parameter must be a bag of elements of the same as or a supertype of the type of source object node. The output parameter must be the same or a subtype of the type of source object node. The behavior cannot have side effects."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.19">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
</target>
</rules>
- <rules name="validateIsMulticastOrIsMultireceive" description="isMulticast and isMultireceive cannot both be true." id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateIsMulticastOrIsMultireceive" rule="/0/@expressionProviders/@providers.1/@expressions.54" message="isMulticast and isMultireceive cannot both be true." useInLiveMode="true" category="/0/@audits/@categories.19">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
+ <rules
+ name="validateIsMulticastOrIsMultireceive"
+ description="isMulticast and isMultireceive cannot both be true."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateIsMulticastOrIsMultireceive"
+ rule="/0/@expressionProviders/@providers.1/@expressions.54"
+ message="isMulticast and isMultireceive cannot both be true."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.19">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ObjectFlow"/>
</target>
</rules>
- <rules name="validateObjectNodes" description="Control flows may not have object nodes at either end, except for object nodes with control type" id="org.eclipse.uml2.uml.util.UMLValidator.validateControlFlow_validateObjectNodes" rule="/0/@expressionProviders/@providers.1/@expressions.55" message="You can not link an object node with a control flow (except if its control type is true)." useInLiveMode="true" category="/0/@audits/@categories.20">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ControlFlow"/>
+ <rules
+ name="validateObjectNodes"
+ description="Control flows may not have object nodes at either end, except for object nodes with control type"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateControlFlow_validateObjectNodes"
+ rule="/0/@expressionProviders/@providers.1/@expressions.55"
+ message="You can not link an object node with a control flow (except if its control type is true)."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.20">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ControlFlow"/>
</target>
</rules>
- <rules name="validateIncomingOutgoingEdges" description="A decision node has one or two incoming edges and at least one outgoing edge." id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateIncomingOutgoingEdges" rule="/0/@expressionProviders/@providers.1/@expressions.56" message="A decision node has one or two incoming edges and at least one outgoing edge." category="/0/@audits/@categories.21">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
+ <rules
+ name="validateIncomingOutgoingEdges"
+ description="A decision node has one or two incoming edges and at least one outgoing edge."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateIncomingOutgoingEdges"
+ rule="/0/@expressionProviders/@providers.1/@expressions.56"
+ message="A decision node has one or two incoming edges and at least one outgoing edge."
+ category="/0/@audits/@categories.21">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
</target>
</rules>
- <rules name="validateEdges" description="The edges coming into and out of a decision node, other than the decision input flow (if any), must be either all object flows or all control flows." id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateEdges" rule="/0/@expressionProviders/@providers.1/@expressions.57" message="Edges linking the decision node must have be of the same type (except decision input flow)." category="/0/@audits/@categories.21">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
+ <rules
+ name="validateEdges"
+ description="The edges coming into and out of a decision node, other than the decision input flow (if any), must be either all object flows or all control flows."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateEdges"
+ rule="/0/@expressionProviders/@providers.1/@expressions.57"
+ message="Edges linking the decision node must have be of the same type (except decision input flow)."
+ category="/0/@audits/@categories.21">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
</target>
</rules>
- <rules name="validateDecisionInputFlowIncoming" description="The decisionInputFlow of a decision node must be an incoming edge of the decision node." id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateDecisionInputFlowIncoming" rule="/0/@expressionProviders/@providers.1/@expressions.58" message="The decisionInputFlow of a decision node must be an incoming edge of the decision node." useInLiveMode="true" category="/0/@audits/@categories.21">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
+ <rules
+ name="validateDecisionInputFlowIncoming"
+ description="The decisionInputFlow of a decision node must be an incoming edge of the decision node."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateDecisionInputFlowIncoming"
+ rule="/0/@expressionProviders/@providers.1/@expressions.58"
+ message="The decisionInputFlow of a decision node must be an incoming edge of the decision node."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.21">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
</target>
</rules>
- <rules name="validateParameters" description="A decision input behavior has no output parameters, no in-out parameters and one return parameter." id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateParameters" rule="/0/@expressionProviders/@providers.1/@expressions.59" message="A decision input behavior has no output parameters, no in-out parameters and one return parameter." useInLiveMode="true" category="/0/@audits/@categories.21">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
+ <rules
+ name="validateParameters"
+ description="A decision input behavior has no output parameters, no in-out parameters and one return parameter."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateParameters"
+ rule="/0/@expressionProviders/@providers.1/@expressions.59"
+ message="A decision input behavior has no output parameters, no in-out parameters and one return parameter."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.21">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
</target>
</rules>
- <rules name="validateZeroInputParameters" description="If the decision node has no decision input flow and an incoming control flow, then a decision input behavior has zero input parameters." id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateZeroInputParameters" rule="/0/@expressionProviders/@providers.1/@expressions.60" message="If the decision node has no decision input flow and an incoming control flow, then a decision input behavior has zero input parameters." category="/0/@audits/@categories.21">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
+ <rules
+ name="validateZeroInputParameters"
+ description="If the decision node has no decision input flow and an incoming control flow, then a decision input behavior has zero input parameters."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateZeroInputParameters"
+ rule="/0/@expressionProviders/@providers.1/@expressions.60"
+ message="If the decision node has no decision input flow and an incoming control flow, then a decision input behavior has zero input parameters."
+ category="/0/@audits/@categories.21">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
</target>
</rules>
- <rules name="validateIncomingObjectOneInputParameter" description="If the decision node has no decision input flow and an incoming object flow, then a decision input behavior has one input parameter whose type is the same as or a supertype of the type of object tokens offered on the incoming edge." id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateIncomingObjectOneInputParameter" rule="/0/@expressionProviders/@providers.0/@expressions.109" message="If the decision node has no decision input flow and an incoming object flow, then a decision input behavior has one input parameter whose type is the same as or a supertype of the type of object tokens offered on the incoming edge." category="/0/@audits/@categories.21">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
+ <rules
+ name="validateIncomingObjectOneInputParameter"
+ description="If the decision node has no decision input flow and an incoming object flow, then a decision input behavior has one input parameter whose type is the same as or a supertype of the type of object tokens offered on the incoming edge."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateIncomingObjectOneInputParameter"
+ rule="/0/@expressionProviders/@providers.0/@expressions.109"
+ message="If the decision node has no decision input flow and an incoming object flow, then a decision input behavior has one input parameter whose type is the same as or a supertype of the type of object tokens offered on the incoming edge."
+ category="/0/@audits/@categories.21">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
</target>
</rules>
- <rules name="validateIncomingControlOneInputParameter" description="If the decision node has a decision input flow and an incoming control flow, then a decision input behavior has one input parameter whose type is the same as or a supertype of the type of object tokens offered on the decision input flow." id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateIncomingControlOneInputParameter" rule="/0/@expressionProviders/@providers.0/@expressions.110" message="If the decision node has a decision input flow and an incoming control flow, then a decision input behavior has one input parameter whose type is the same as or a supertype of the type of object tokens offered on the decision input flow." category="/0/@audits/@categories.21">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
+ <rules
+ name="validateIncomingControlOneInputParameter"
+ description="If the decision node has a decision input flow and an incoming control flow, then a decision input behavior has one input parameter whose type is the same as or a supertype of the type of object tokens offered on the decision input flow."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateIncomingControlOneInputParameter"
+ rule="/0/@expressionProviders/@providers.0/@expressions.110"
+ message="If the decision node has a decision input flow and an incoming control flow, then a decision input behavior has one input parameter whose type is the same as or a supertype of the type of object tokens offered on the decision input flow."
+ category="/0/@audits/@categories.21">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
</target>
</rules>
- <rules name="validateTwoInputParameters" description="If the decision node has a decision input flow and an second incoming object flow, then a decision input behavior has two input parameters, the first of which has a type that is the same as or a supertype of the type of the type of object tokens offered on the nondecision input flow and the second of which has a type that is the same as or a supertype of the type of object tokens offered on the decision input flow." id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateTwoInputParameters" rule="/0/@expressionProviders/@providers.0/@expressions.111" message="If the decision node has a decision input flow and an incoming control flow, then a decision input behavior has one input parameter whose type is the same as or a supertype of the type of object tokens offered on the decision input flow." category="/0/@audits/@categories.21">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
+ <rules
+ name="validateTwoInputParameters"
+ description="If the decision node has a decision input flow and an second incoming object flow, then a decision input behavior has two input parameters, the first of which has a type that is the same as or a supertype of the type of the type of object tokens offered on the nondecision input flow and the second of which has a type that is the same as or a supertype of the type of object tokens offered on the decision input flow."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateTwoInputParameters"
+ rule="/0/@expressionProviders/@providers.0/@expressions.111"
+ message="If the decision node has a decision input flow and an incoming control flow, then a decision input behavior has one input parameter whose type is the same as or a supertype of the type of object tokens offered on the decision input flow."
+ category="/0/@audits/@categories.21">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
</target>
</rules>
- <rules name="validateOneOutgoingEdge" description="A merge node has one outgoing edge." id="org.eclipse.uml2.uml.util.UMLValidator.validateMergeNode_validateOneOutgoingEdge" rule="/0/@expressionProviders/@providers.1/@expressions.61" message="A merge node has one outgoing edge." category="/0/@audits/@categories.22">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/MergeNode"/>
+ <rules
+ name="validateOneOutgoingEdge"
+ description="A merge node has one outgoing edge."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateMergeNode_validateOneOutgoingEdge"
+ rule="/0/@expressionProviders/@providers.1/@expressions.61"
+ message="A merge node has one outgoing edge."
+ category="/0/@audits/@categories.22">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/MergeNode"/>
</target>
</rules>
- <rules name="validateEdges" description="The edges coming into and out of a merge node must be either all object flows or all control flows." id="org.eclipse.uml2.uml.util.UMLValidator.validateMergeNode_validateEdges" rule="/0/@expressionProviders/@providers.1/@expressions.62" message="The edges coming into and out of a merge node must be either all object flows or all control flows." category="/0/@audits/@categories.22">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/MergeNode"/>
+ <rules
+ name="validateEdges"
+ description="The edges coming into and out of a merge node must be either all object flows or all control flows."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateMergeNode_validateEdges"
+ rule="/0/@expressionProviders/@providers.1/@expressions.62"
+ message="The edges coming into and out of a merge node must be either all object flows or all control flows."
+ category="/0/@audits/@categories.22">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/MergeNode"/>
</target>
</rules>
- <rules name="validateOneIncomingEdge" description="A fork node has one incoming edge." id="org.eclipse.uml2.uml.util.UMLValidator.validateForkNode_validateOneIncomingEdge" rule="/0/@expressionProviders/@providers.1/@expressions.63" message="A fork node has one incoming edge." category="/0/@audits/@categories.23">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ForkNode"/>
+ <rules
+ name="validateOneIncomingEdge"
+ description="A fork node has one incoming edge."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateForkNode_validateOneIncomingEdge"
+ rule="/0/@expressionProviders/@providers.1/@expressions.63"
+ message="A fork node has one incoming edge."
+ category="/0/@audits/@categories.23">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ForkNode"/>
</target>
</rules>
- <rules name="validateEdges" description="The edges coming into and out of a fork node must be either all object flows or all control flows." id="org.eclipse.uml2.uml.util.UMLValidator.validateForkNode_validateEdges" rule="/0/@expressionProviders/@providers.1/@expressions.64" message="The edges coming into and out of a fork node must be either all object flows or all control flows." category="/0/@audits/@categories.23">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ForkNode"/>
+ <rules
+ name="validateEdges"
+ description="The edges coming into and out of a fork node must be either all object flows or all control flows."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateForkNode_validateEdges"
+ rule="/0/@expressionProviders/@providers.1/@expressions.64"
+ message="The edges coming into and out of a fork node must be either all object flows or all control flows."
+ category="/0/@audits/@categories.23">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ForkNode"/>
</target>
</rules>
- <rules name="validateOneOutgoingEdge" description="A join node has one outgoing edge." id="org.eclipse.uml2.uml.util.UMLValidator.validateJoinNode_validateOneOutgoingEdge" rule="/0/@expressionProviders/@providers.1/@expressions.65" message="A join node has one outgoing edge." category="/0/@audits/@categories.24">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/JoinNode"/>
+ <rules
+ name="validateOneOutgoingEdge"
+ description="A join node has one outgoing edge."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateJoinNode_validateOneOutgoingEdge"
+ rule="/0/@expressionProviders/@providers.1/@expressions.65"
+ message="A join node has one outgoing edge."
+ category="/0/@audits/@categories.24">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/JoinNode"/>
</target>
</rules>
- <rules name="validateIncomingObjectFlow" description="If a join node has an incoming object flow, it must have an outgoing object flow, otherwise, it must have an outgoing control flow." id="org.eclipse.uml2.uml.util.UMLValidator.validateJoinNode_validateIncomingObjectFlow" rule="/0/@expressionProviders/@providers.1/@expressions.66" message="If a join node has an incoming object flow, it must have an outgoing object flow, otherwise, it must have an outgoing control flow." category="/0/@audits/@categories.24">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/JoinNode"/>
+ <rules
+ name="validateIncomingObjectFlow"
+ description="If a join node has an incoming object flow, it must have an outgoing object flow, otherwise, it must have an outgoing control flow."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateJoinNode_validateIncomingObjectFlow"
+ rule="/0/@expressionProviders/@providers.1/@expressions.66"
+ message="If a join node has an incoming object flow, it must have an outgoing object flow, otherwise, it must have an outgoing control flow."
+ category="/0/@audits/@categories.24">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/JoinNode"/>
</target>
</rules>
- <rules name="validateIncomingOrOutgoing" description="An activity parameter node must not have both incoming and outgoing edges." id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityParameterNode_validateIncomingOrOutgoing" rule="/0/@expressionProviders/@providers.1/@expressions.67" message="An activity parameter node must not have both incoming and outgoing edges." useInLiveMode="true" category="/0/@audits/@categories.25">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityParameterNode"/>
+ <rules
+ name="validateIncomingOrOutgoing"
+ description="An activity parameter node must not have both incoming and outgoing edges."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityParameterNode_validateIncomingOrOutgoing"
+ rule="/0/@expressionProviders/@providers.1/@expressions.67"
+ message="An activity parameter node must not have both incoming and outgoing edges."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.25">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityParameterNode"/>
</target>
</rules>
- <rules name="validateNotAbstract" description="Check that the classifier is not abstract" id="org.eclipse.uml2.uml.util.UMLValidator.validateCreateObjectActionClassifier_notAbstract" rule="/0/@expressionProviders/@providers.1/@expressions.68" message="The classifier cannot be abstract." useInLiveMode="true" category="/0/@audits/@categories.26">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CreateObjectAction"/>
+ <rules
+ name="validateNotAbstract"
+ description="Check that the classifier is not abstract"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateCreateObjectActionClassifier_notAbstract"
+ rule="/0/@expressionProviders/@providers.1/@expressions.68"
+ message="The classifier cannot be abstract."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.26">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CreateObjectAction"/>
</target>
</rules>
- <rules name="valideNotAssociationClass" description="Check that the classifier is not an association class" id="org.eclipse.uml2.uml.util.UMLValidator.validateCreateObjectActionClassifier_notClassifier" rule="/0/@expressionProviders/@providers.1/@expressions.69" message="The classifier cannot be an association class." useInLiveMode="true" category="/0/@audits/@categories.26">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CreateObjectAction"/>
+ <rules
+ name="valideNotAssociationClass"
+ description="Check that the classifier is not an association class"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateCreateObjectActionClassifier_notClassifier"
+ rule="/0/@expressionProviders/@providers.1/@expressions.69"
+ message="The classifier cannot be an association class."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.26">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CreateObjectAction"/>
</target>
</rules>
- <rules name="validateOnlyOneClassifier" description="Check that a structural feature has exactly one featuringClassifier." id="org.eclipse.uml2.uml.util.UMLValidator.validateReadStructuralFeatureAction_onlyOneClassifier" rule="/0/@expressionProviders/@providers.1/@expressions.70" message="A structural feature has exactly one featuringClassifier." category="/0/@audits/@categories.27">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ReadStructuralFeatureAction"/>
+ <rules
+ name="validateOnlyOneClassifier"
+ description="Check that a structural feature has exactly one featuringClassifier."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateReadStructuralFeatureAction_onlyOneClassifier"
+ rule="/0/@expressionProviders/@providers.1/@expressions.70"
+ message="A structural feature has exactly one featuringClassifier."
+ category="/0/@audits/@categories.27">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ReadStructuralFeatureAction"/>
</target>
</rules>
- <rules name="validateInputPinType" description="Check valide that the type of the input pin is the same than the one from the structural feature" id="org.eclipse.uml2.uml.util.UMLValidator.validateAddStructuralFeatureValueAction_ValidInputPinType" rule="/0/@expressionProviders/@providers.1/@expressions.71" message="The type of the value input pin is the same as the type of the structural feature." category="/0/@audits/@categories.28">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/AddStructuralFeatureValueAction"/>
+ <rules
+ name="validateInputPinType"
+ description="Check valide that the type of the input pin is the same than the one from the structural feature"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateAddStructuralFeatureValueAction_ValidInputPinType"
+ rule="/0/@expressionProviders/@providers.1/@expressions.71"
+ message="The type of the value input pin is the same as the type of the structural feature."
+ category="/0/@audits/@categories.28">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/AddStructuralFeatureValueAction"/>
</target>
</rules>
- <rules name="validateOutputPinType" description="Check that the type of the result output pin is the same as the type of the inherited object input pin." id="org.eclipse.uml2.uml.util.UMLValidator.validateAddStructuralFeatureValueAction_validateOutputPinType" rule="/0/@expressionProviders/@providers.1/@expressions.72" message="The type of the result output pin is the same as the type of the inherited object input pin." category="/0/@audits/@categories.28">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/AddStructuralFeatureValueAction"/>
+ <rules
+ name="validateOutputPinType"
+ description="Check that the type of the result output pin is the same as the type of the inherited object input pin."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateAddStructuralFeatureValueAction_validateOutputPinType"
+ rule="/0/@expressionProviders/@providers.1/@expressions.72"
+ message="The type of the result output pin is the same as the type of the inherited object input pin."
+ category="/0/@audits/@categories.28">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/AddStructuralFeatureValueAction"/>
</target>
</rules>
- <rules name="A value input pin is required" description="Check that a value input pin is required" id="org.eclipse.uml2.uml.util.UMLValidator.validateAddStructuralFeatureValueAction_valideTheRequiredValuePin" rule="/0/@expressionProviders/@providers.1/@expressions.73" message="org.eclipse.uml2.uml.util.UMLValidator.validateAddStructuralFeatureValueAction" category="/0/@audits/@categories.28">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/AddStructuralFeatureValueAction"/>
+ <rules
+ name="A value input pin is required"
+ description="Check that a value input pin is required"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateAddStructuralFeatureValueAction_valideTheRequiredValuePin"
+ rule="/0/@expressionProviders/@providers.1/@expressions.73"
+ message="org.eclipse.uml2.uml.util.UMLValidator.validateAddStructuralFeatureValueAction"
+ category="/0/@audits/@categories.28">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/AddStructuralFeatureValueAction"/>
</target>
</rules>
- <rules name="validateOnlyOneClassifier" description="Check that a structural feature has exactly one featuringClassifier." id="org.eclipse.uml2.uml.util.UMLValidator.validateAddStructuralFeatureValueAction_onlyOneClassifier" rule="/0/@expressionProviders/@providers.1/@expressions.74" message="A structural feature has exactly one featuringClassifier." category="/0/@audits/@categories.28">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/AddStructuralFeatureValueAction"/>
+ <rules
+ name="validateOnlyOneClassifier"
+ description="Check that a structural feature has exactly one featuringClassifier."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateAddStructuralFeatureValueAction_onlyOneClassifier"
+ rule="/0/@expressionProviders/@providers.1/@expressions.74"
+ message="A structural feature has exactly one featuringClassifier."
+ category="/0/@audits/@categories.28">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/AddStructuralFeatureValueAction"/>
</target>
</rules>
- <rules name="validateInputPinHasNoType" description="Check that the input pin has no type" id="org.eclipse.uml2.uml.util.UMLValidator.validateDestroyObjectAction_InputPinHasNotType" rule="/0/@expressionProviders/@providers.1/@expressions.75" message="The input pin has no type" useInLiveMode="true" category="/0/@audits/@categories.29">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DestroyObjectAction"/>
+ <rules
+ name="validateInputPinHasNoType"
+ description="Check that the input pin has no type"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateDestroyObjectAction_InputPinHasNotType"
+ rule="/0/@expressionProviders/@providers.1/@expressions.75"
+ message="The input pin has no type"
+ useInLiveMode="true"
+ category="/0/@audits/@categories.29">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DestroyObjectAction"/>
</target>
</rules>
- <rules name="validateFeatureNotStatic" description="Check that the structural feature must not be static." id="org.eclipse.uml2.uml.util.UMLValidator.validateStructuralFeatureAction_FeatureNotStatic" rule="/0/@expressionProviders/@providers.1/@expressions.76" message="The structural feature must not be static." useInLiveMode="true" category="/0/@audits/@categories.30">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuralFeatureAction"/>
+ <rules
+ name="validateFeatureNotStatic"
+ description="Check that the structural feature must not be static."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateStructuralFeatureAction_FeatureNotStatic"
+ rule="/0/@expressionProviders/@providers.1/@expressions.76"
+ message="The structural feature must not be static."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.30">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuralFeatureAction"/>
</target>
</rules>
- <rules name="validateValideTypeOwningFeature" description="Check that the structural feature must either be owned by the type of the object input pin, or it must be an owned end of a binary" id="org.eclipse.uml2.uml.util.UMLValidator.validateStructuralFeatureAction_validateOwningFeteatringType" rule="/0/@expressionProviders/@providers.1/@expressions.77" message="The structural feature must either be owned by the type of the object input pin, or it must be an owned end of a binary" category="/0/@audits/@categories.30">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuralFeatureAction"/>
+ <rules
+ name="validateValideTypeOwningFeature"
+ description="Check that the structural feature must either be owned by the type of the object input pin, or it must be an owned end of a binary"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateStructuralFeatureAction_validateOwningFeteatringType"
+ rule="/0/@expressionProviders/@providers.1/@expressions.77"
+ message="The structural feature must either be owned by the type of the object input pin, or it must be an owned end of a binary"
+ category="/0/@audits/@categories.30">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuralFeatureAction"/>
</target>
</rules>
- <rules name="validateInputPinMultiplicity" description="Check that the multiplicity of the object input pin must be 1..1." id="org.eclipse.uml2.uml.util.UMLValidator.validateStructuralFeatureAction_InputPinMulitplicity" rule="/0/@expressionProviders/@providers.1/@expressions.78" message="The multiplicity of the object input pin must be 1..1." category="/0/@audits/@categories.30">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuralFeatureAction"/>
+ <rules
+ name="validateInputPinMultiplicity"
+ description="Check that the multiplicity of the object input pin must be 1..1."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateStructuralFeatureAction_InputPinMulitplicity"
+ rule="/0/@expressionProviders/@providers.1/@expressions.78"
+ message="The multiplicity of the object input pin must be 1..1."
+ category="/0/@audits/@categories.30">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuralFeatureAction"/>
</target>
</rules>
- <rules name="validateOnlyOneFeaturingClassifier" description="Check that a structural feature has exactly one featuringClassifier." id="org.eclipse.uml2.uml.util.UMLValidator.validateStructuralFeatureAction_OnlyOneFeaturingClassifier" rule="/0/@expressionProviders/@providers.1/@expressions.79" message="A structural feature has exactly one featuringClassifier." category="/0/@audits/@categories.30">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuralFeatureAction"/>
+ <rules
+ name="validateOnlyOneFeaturingClassifier"
+ description="Check that a structural feature has exactly one featuringClassifier."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateStructuralFeatureAction_OnlyOneFeaturingClassifier"
+ rule="/0/@expressionProviders/@providers.1/@expressions.79"
+ message="A structural feature has exactly one featuringClassifier."
+ category="/0/@audits/@categories.30">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuralFeatureAction"/>
</target>
</rules>
- <rules name="validateInputPinAsValueAsAtLeastOneInputPin" description="Check that a value input pin is required." id="org.eclipse.uml2.uml.util.UMLValidator.validateAddVariableValueAction_AsAtLeastOneInputPin" rule="/0/@expressionProviders/@providers.1/@expressions.80" message="A value input pin is required." category="/0/@audits/@categories.31">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/AddVariableValueAction"/>
+ <rules
+ name="validateInputPinAsValueAsAtLeastOneInputPin"
+ description="Check that a value input pin is required."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateAddVariableValueAction_AsAtLeastOneInputPin"
+ rule="/0/@expressionProviders/@providers.1/@expressions.80"
+ message="A value input pin is required."
+ category="/0/@audits/@categories.31">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/AddVariableValueAction"/>
</target>
</rules>
- <rules name="valideInputPinType" description="Check that the type input pin is the same as the type of the variable." id="org.eclipse.uml2.uml.util.UMLValidator.validateWriteVariableAction_InputPinValidePin" rule="/0/@expressionProviders/@providers.1/@expressions.81" message="The type input pin is the same as the type of the variable." category="/0/@audits/@categories.32">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/WriteVariableAction"/>
+ <rules
+ name="valideInputPinType"
+ description="Check that the type input pin is the same as the type of the variable."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateWriteVariableAction_InputPinValidePin"
+ rule="/0/@expressionProviders/@providers.1/@expressions.81"
+ message="The type input pin is the same as the type of the variable."
+ category="/0/@audits/@categories.32">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/WriteVariableAction"/>
</target>
</rules>
- <rules name="validateInputPinMultiplicity" description="Check that the multiplicity of the input pin is 1..1." id="org.eclipse.uml2.uml.util.UMLValidator.validateWriteVariableAction_valideInputPinMultiplicity" rule="/0/@expressionProviders/@providers.1/@expressions.82" message="The multiplicity of the input pin is 1..1." category="/0/@audits/@categories.32">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/WriteVariableAction"/>
+ <rules
+ name="validateInputPinMultiplicity"
+ description="Check that the multiplicity of the input pin is 1..1."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateWriteVariableAction_valideInputPinMultiplicity"
+ rule="/0/@expressionProviders/@providers.1/@expressions.82"
+ message="The multiplicity of the input pin is 1..1."
+ category="/0/@audits/@categories.32">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/WriteVariableAction"/>
</target>
</rules>
- <rules name="validateVariableScope" description="Check that the action must be in the scope of the variable." id="org.eclipse.uml2.uml.util.UMLValidator.validateVariableAction_VariableScope" rule="/0/@expressionProviders/@providers.1/@expressions.83" message="The action must be in the scope of the variable." category="/0/@audits/@categories.33">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/VariableAction"/>
+ <rules
+ name="validateVariableScope"
+ description="Check that the action must be in the scope of the variable."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateVariableAction_VariableScope"
+ rule="/0/@expressionProviders/@providers.1/@expressions.83"
+ message="The action must be in the scope of the variable."
+ category="/0/@audits/@categories.33">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/VariableAction"/>
</target>
</rules>
- <rules name="validateOutputPinType" description="Check that the type and ordering of the result output pin of a read-variable action are the same as the type and ordering of the" id="org.eclipse.uml2.uml.util.UMLValidator.validateReadVariableAction_OutputPinType" rule="/0/@expressionProviders/@providers.1/@expressions.84" message="The type and ordering of the result output pin of a read-variable action are the same as the type and ordering of the" category="/0/@audits/@categories.34">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ReadVariableAction"/>
+ <rules
+ name="validateOutputPinType"
+ description="Check that the type and ordering of the result output pin of a read-variable action are the same as the type and ordering of the"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateReadVariableAction_OutputPinType"
+ rule="/0/@expressionProviders/@providers.1/@expressions.84"
+ message="The type and ordering of the result output pin of a read-variable action are the same as the type and ordering of the"
+ category="/0/@audits/@categories.34">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ReadVariableAction"/>
</target>
</rules>
- <rules name="validateOutputPinMultiplicity" description="Check that the multiplicity of the variable must be compatible with the multiplicity of the output pin" id="org.eclipse.uml2.uml.util.UMLValidator.validateReadVariableAction_OutputPinMultiplicity" rule="/0/@expressionProviders/@providers.1/@expressions.85" message="The multiplicity of the variable must be compatible with the multiplicity of the output pin" category="/0/@audits/@categories.34">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ReadVariableAction"/>
+ <rules
+ name="validateOutputPinMultiplicity"
+ description="Check that the multiplicity of the variable must be compatible with the multiplicity of the output pin"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateReadVariableAction_OutputPinMultiplicity"
+ rule="/0/@expressionProviders/@providers.1/@expressions.85"
+ message="The multiplicity of the variable must be compatible with the multiplicity of the output pin"
+ category="/0/@audits/@categories.34">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ReadVariableAction"/>
</target>
</rules>
- <rules name="validateException_HandlerBody_Constraint4" description="The handler body has one input, and that input is the same as the exception input." id="org.eclipse.uml2.uml.util.UMLValidator.validateExceptionHandler_validateException_HandlerBody_Constraint4" rule="/0/@expressionProviders/@providers.0/@expressions.113" message="The handler body has one input, and that input is the same as the exception input." useInLiveMode="true" category="/0/@audits/@categories.36">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ExceptionHandler"/>
+ <rules
+ name="validateException_HandlerBody_Constraint4"
+ description="The handler body has one input, and that input is the same as the exception input."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateExceptionHandler_validateException_HandlerBody_Constraint4"
+ rule="/0/@expressionProviders/@providers.0/@expressions.113"
+ message="The handler body has one input, and that input is the same as the exception input."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.36">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ExceptionHandler"/>
</target>
</rules>
- <rules name="validateInterruptibleEdge" description="Validate the constraint for interruptible Edge" id="org.eclipse.uml2.uml.util.UMLValidator.validateInterruptibleEdge_validateEdge" rule="/0/@expressionProviders/@providers.0/@expressions.112" message="Interrupting edges of a region must have their source node in the region and their target node outside the region in the" useInLiveMode="true" category="/0/@audits/@categories.37">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityEdge"/>
+ <rules
+ name="validateInterruptibleEdge"
+ description="Validate the constraint for interruptible Edge"
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateInterruptibleEdge_validateEdge"
+ rule="/0/@expressionProviders/@providers.0/@expressions.112"
+ message="Interrupting edges of a region must have their source node in the region and their target node outside the region in the"
+ useInLiveMode="true"
+ category="/0/@audits/@categories.37">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityEdge"/>
</target>
</rules>
- <rules name="validateException_StructuredActivityNode_Constraint3" description="If the protected node is a StructuredActivityNode with output pins, then the exception handler body must also be a StructuredActivityNode with output pins that correspond in number and types to those of the protected node." id="org.eclipse.uml2.uml.util.UMLValidator.validateExceptionHandler_validateException_StructuredActivityNode_Constraint3" rule="/0/@expressionProviders/@providers.0/@expressions.116" message="If the protected node is a StructuredActivityNode with output pins, then the exception handler body must also be a StructuredActivityNode with output pins that correspond in number and types to those of the protected node." useInLiveMode="true" category="/0/@audits/@categories.36">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ExceptionHandler"/>
+ <rules
+ name="validateException_StructuredActivityNode_Constraint3"
+ description="If the protected node is a StructuredActivityNode with output pins, then the exception handler body must also be a StructuredActivityNode with output pins that correspond in number and types to those of the protected node."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateExceptionHandler_validateException_StructuredActivityNode_Constraint3"
+ rule="/0/@expressionProviders/@providers.0/@expressions.116"
+ message="If the protected node is a StructuredActivityNode with output pins, then the exception handler body must also be a StructuredActivityNode with output pins that correspond in number and types to those of the protected node."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.36">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ExceptionHandler"/>
</target>
</rules>
- <rules name="validateException_SourceAndTargetEdge_Constraint1" description="The exception handler and its input object node are not the source or target of any edge." id="org.eclipse.uml2.uml.util.UMLValidator.validateExceptionHandler_validateException_SourceAndTargetEdge_Constraint1" rule="/0/@expressionProviders/@providers.0/@expressions.115" message="The exception handler and its input object node are not the source or target of any edge." useInLiveMode="true" category="/0/@audits/@categories.36">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ExceptionHandler"/>
+ <rules
+ name="validateException_SourceAndTargetEdge_Constraint1"
+ description="The exception handler and its input object node are not the source or target of any edge."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateExceptionHandler_validateException_SourceAndTargetEdge_Constraint1"
+ rule="/0/@expressionProviders/@providers.0/@expressions.115"
+ message="The exception handler and its input object node are not the source or target of any edge."
+ useInLiveMode="true"
+ category="/0/@audits/@categories.36">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ExceptionHandler"/>
</target>
</rules>
- <rules name="validateException_StructuredActivityNode_Constraint2" description="An edge that has a source in an exception handler structured node must also have its target in the handler, and vice versa." id="org.eclipse.uml2.uml.util.UMLValidator.validateExceptionHandler_validateException_StructuredActivityNode_Constraint2" rule="/0/@expressionProviders/@providers.0/@expressions.114" message="An edge that has a source in an exception handler structured node must also have its target in the handler, and vice versa." category="/0/@audits/@categories.18">
- <target xsi:type="gmfgen:GenDomainElementTarget" contextSelector="/0/@audits/@clientContexts.0">
- <element href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityEdge"/>
+ <rules
+ name="validateException_StructuredActivityNode_Constraint2"
+ description="An edge that has a source in an exception handler structured node must also have its target in the handler, and vice versa."
+ id="org.eclipse.uml2.uml.util.UMLValidator.validateExceptionHandler_validateException_StructuredActivityNode_Constraint2"
+ rule="/0/@expressionProviders/@providers.0/@expressions.114"
+ message="An edge that has a source in an exception handler structured node must also have its target in the handler, and vice versa."
+ category="/0/@audits/@categories.18">
+ <target
+ xsi:type="gmfgen:GenDomainElementTarget"
+ contextSelector="/0/@audits/@clientContexts.0">
+ <element
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityEdge"/>
</target>
</rules>
- <clientContexts ruleTargets="/0/@audits/@rules.0/@target /0/@audits/@rules.1/@target /0/@audits/@rules.2/@target /0/@audits/@rules.3/@target /0/@audits/@rules.4/@target /0/@audits/@rules.5/@target /0/@audits/@rules.6/@target /0/@audits/@rules.7/@target /0/@audits/@rules.8/@target /0/@audits/@rules.9/@target /0/@audits/@rules.10/@target /0/@audits/@rules.11/@target /0/@audits/@rules.12/@target /0/@audits/@rules.13/@target /0/@audits/@rules.14/@target /0/@audits/@rules.15/@target /0/@audits/@rules.16/@target /0/@audits/@rules.17/@target /0/@audits/@rules.18/@target /0/@audits/@rules.19/@target /0/@audits/@rules.20/@target /0/@audits/@rules.21/@target /0/@audits/@rules.22/@target /0/@audits/@rules.23/@target /0/@audits/@rules.24/@target /0/@audits/@rules.25/@target /0/@audits/@rules.26/@target /0/@audits/@rules.27/@target /0/@audits/@rules.28/@target /0/@audits/@rules.29/@target /0/@audits/@rules.30/@target /0/@audits/@rules.31/@target /0/@audits/@rules.32/@target /0/@audits/@rules.33/@target /0/@audits/@rules.34/@target /0/@audits/@rules.35/@target /0/@audits/@rules.36/@target /0/@audits/@rules.37/@target /0/@audits/@rules.38/@target /0/@audits/@rules.39/@target /0/@audits/@rules.40/@target /0/@audits/@rules.41/@target /0/@audits/@rules.42/@target /0/@audits/@rules.43/@target /0/@audits/@rules.44/@target /0/@audits/@rules.45/@target /0/@audits/@rules.46/@target /0/@audits/@rules.47/@target /0/@audits/@rules.48/@target /0/@audits/@rules.49/@target /0/@audits/@rules.50/@target /0/@audits/@rules.51/@target /0/@audits/@rules.52/@target /0/@audits/@rules.53/@target /0/@audits/@rules.54/@target /0/@audits/@rules.55/@target /0/@audits/@rules.56/@target /0/@audits/@rules.57/@target /0/@audits/@rules.58/@target /0/@audits/@rules.59/@target /0/@audits/@rules.60/@target /0/@audits/@rules.61/@target /0/@audits/@rules.62/@target /0/@audits/@rules.63/@target /0/@audits/@rules.64/@target /0/@audits/@rules.65/@target"/>
+ <clientContexts
+ ruleTargets="/0/@audits/@rules.0/@target /0/@audits/@rules.1/@target /0/@audits/@rules.2/@target /0/@audits/@rules.3/@target /0/@audits/@rules.4/@target /0/@audits/@rules.5/@target /0/@audits/@rules.6/@target /0/@audits/@rules.7/@target /0/@audits/@rules.8/@target /0/@audits/@rules.9/@target /0/@audits/@rules.10/@target /0/@audits/@rules.11/@target /0/@audits/@rules.12/@target /0/@audits/@rules.13/@target /0/@audits/@rules.14/@target /0/@audits/@rules.15/@target /0/@audits/@rules.16/@target /0/@audits/@rules.17/@target /0/@audits/@rules.18/@target /0/@audits/@rules.19/@target /0/@audits/@rules.20/@target /0/@audits/@rules.21/@target /0/@audits/@rules.22/@target /0/@audits/@rules.23/@target /0/@audits/@rules.24/@target /0/@audits/@rules.25/@target /0/@audits/@rules.26/@target /0/@audits/@rules.27/@target /0/@audits/@rules.28/@target /0/@audits/@rules.29/@target /0/@audits/@rules.30/@target /0/@audits/@rules.31/@target /0/@audits/@rules.32/@target /0/@audits/@rules.33/@target /0/@audits/@rules.34/@target /0/@audits/@rules.35/@target /0/@audits/@rules.36/@target /0/@audits/@rules.37/@target /0/@audits/@rules.38/@target /0/@audits/@rules.39/@target /0/@audits/@rules.40/@target /0/@audits/@rules.41/@target /0/@audits/@rules.42/@target /0/@audits/@rules.43/@target /0/@audits/@rules.44/@target /0/@audits/@rules.45/@target /0/@audits/@rules.46/@target /0/@audits/@rules.47/@target /0/@audits/@rules.48/@target /0/@audits/@rules.49/@target /0/@audits/@rules.50/@target /0/@audits/@rules.51/@target /0/@audits/@rules.52/@target /0/@audits/@rules.53/@target /0/@audits/@rules.54/@target /0/@audits/@rules.55/@target /0/@audits/@rules.56/@target /0/@audits/@rules.57/@target /0/@audits/@rules.58/@target /0/@audits/@rules.59/@target /0/@audits/@rules.60/@target /0/@audits/@rules.61/@target /0/@audits/@rules.62/@target /0/@audits/@rules.63/@target /0/@audits/@rules.64/@target /0/@audits/@rules.65/@target"/>
</audits>
- <diagram visualID="1000" editPartClassName="ActivityDiagramEditPart" itemSemanticEditPolicyClassName="ActivityDiagramItemSemanticEditPolicy" canonicalEditPolicyClassName="ActivityDiagramCanonicalEditPolicy" iconProviderPriority="Low" validationProviderPriority="Low" validationEnabled="true" validationDecorators="true" liveValidationUIFeedback="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/>
- <elementType xsi:type="gmfgen:MetamodelType" editHelperClassName="PackageEditHelper"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="&quot;RemoveOrphanView&quot;" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.RemoveOrphanViewPolicy"/>
- <domainDiagramElement href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package"/>
- <childNodes xsi:type="gmfgen:GenChildLabelNode" visualID="3001" editPartClassName="ParameterEditPart" itemSemanticEditPolicyClassName="ParameterItemSemanticEditPolicy" notationViewFactoryClassName="ParameterViewFactory" canonicalEditPolicyClassName="ParameterCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ParameterGraphicalNodeEditPolicy" createCommandClassName="ParameterCreateCommand" containers="/0/@diagram/@compartments.0 /0/@diagram/@compartments.11">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.Parameter_3001" displayName="Parameter">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.44/@elementType"/>
+ <diagram
+ visualID="1000"
+ editPartClassName="ActivityDiagramEditPart"
+ itemSemanticEditPolicyClassName="ActivityDiagramItemSemanticEditPolicy"
+ canonicalEditPolicyClassName="ActivityDiagramCanonicalEditPolicy"
+ iconProviderPriority="Low"
+ validationProviderPriority="Low"
+ validationEnabled="true"
+ validationDecorators="true"
+ liveValidationUIFeedback="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/>
+ <elementType
+ xsi:type="gmfgen:MetamodelType"
+ editHelperClassName="PackageEditHelper"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="&quot;RemoveOrphanView&quot;"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.RemoveOrphanViewPolicy"/>
+ <domainDiagramElement
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildLabelNode"
+ visualID="3001"
+ editPartClassName="ParameterEditPart"
+ itemSemanticEditPolicyClassName="ParameterItemSemanticEditPolicy"
+ notationViewFactoryClassName="ParameterViewFactory"
+ canonicalEditPolicyClassName="ParameterCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ParameterGraphicalNodeEditPolicy"
+ createCommandClassName="ParameterCreateCommand"
+ containers="/0/@diagram/@compartments.0 /0/@diagram/@compartments.11">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.Parameter_3001"
+ displayName="Parameter">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.44/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Parameter"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Behavior/ownedParameter"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Behavior/ownedParameter"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.1">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Parameter"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Behavior/ownedParameter"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Behavior/ownedParameter"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.1">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labelModelFacet parser="/0/@labelParsers/@implementations.3"/>
+ <labelModelFacet
+ parser="/0/@labelParsers/@implementations.3"/>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildLabelNode" visualID="3002" editPartClassName="ConstraintInActivityAsPrecondEditPart" itemSemanticEditPolicyClassName="ConstraintInActivityAsPrecondItemSemanticEditPolicy" notationViewFactoryClassName="ConstraintViewFactory" canonicalEditPolicyClassName="ConstraintInActivityAsPrecondCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ConstraintInActivityAsPrecondGraphicalNodeEditPolicy" createCommandClassName="ConstraintInActivityAsPrecondCreateCommand" containers="/0/@diagram/@compartments.1 /0/@diagram/@compartments.12">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.0/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildLabelNode"
+ visualID="3002"
+ editPartClassName="ConstraintInActivityAsPrecondEditPart"
+ itemSemanticEditPolicyClassName="ConstraintInActivityAsPrecondItemSemanticEditPolicy"
+ notationViewFactoryClassName="ConstraintViewFactory"
+ canonicalEditPolicyClassName="ConstraintInActivityAsPrecondCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ConstraintInActivityAsPrecondGraphicalNodeEditPolicy"
+ createCommandClassName="ConstraintInActivityAsPrecondCreateCommand"
+ containers="/0/@diagram/@compartments.1 /0/@diagram/@compartments.12">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.0/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Namespace/ownedRule"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Behavior/precondition"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.2">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Namespace/ownedRule"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Behavior/precondition"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.2">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labelModelFacet xsi:type="gmfgen:FeatureLabelModelFacet" parser="/0/@labelParsers/@implementations.25" viewPattern="&lt;&lt;precondition>> {0}" editorPattern="{0}" editPattern="{0}">
- <metaFeatures href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <labelModelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.25"
+ viewPattern="&lt;&lt;precondition>> {0}"
+ editorPattern="{0}"
+ editPattern="{0}">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</labelModelFacet>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildLabelNode" visualID="3003" editPartClassName="ConstraintInActivityAsPostcondEditPart" itemSemanticEditPolicyClassName="ConstraintInActivityAsPostcondItemSemanticEditPolicy" notationViewFactoryClassName="ConstraintViewFactory" canonicalEditPolicyClassName="ConstraintInActivityAsPostcondCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ConstraintInActivityAsPostcondGraphicalNodeEditPolicy" createCommandClassName="ConstraintInActivityAsPostcondCreateCommand" containers="/0/@diagram/@compartments.2 /0/@diagram/@compartments.13">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.0/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildLabelNode"
+ visualID="3003"
+ editPartClassName="ConstraintInActivityAsPostcondEditPart"
+ itemSemanticEditPolicyClassName="ConstraintInActivityAsPostcondItemSemanticEditPolicy"
+ notationViewFactoryClassName="ConstraintViewFactory"
+ canonicalEditPolicyClassName="ConstraintInActivityAsPostcondCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ConstraintInActivityAsPostcondGraphicalNodeEditPolicy"
+ createCommandClassName="ConstraintInActivityAsPostcondCreateCommand"
+ containers="/0/@diagram/@compartments.2 /0/@diagram/@compartments.13">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.0/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Namespace/ownedRule"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Behavior/postcondition"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.3">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Namespace/ownedRule"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Behavior/postcondition"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.3">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labelModelFacet xsi:type="gmfgen:FeatureLabelModelFacet" parser="/0/@labelParsers/@implementations.24" viewPattern="&lt;&lt;postcondition>> {0}" editorPattern="{0}" editPattern="{0}">
- <metaFeatures href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <labelModelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.24"
+ viewPattern="&lt;&lt;postcondition>> {0}"
+ editorPattern="{0}"
+ editPattern="{0}">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</labelModelFacet>
</childNodes>
- <childNodes visualID="3004" editPartClassName="InitialNodeEditPart" itemSemanticEditPolicyClassName="InitialNodeItemSemanticEditPolicy" notationViewFactoryClassName="InitialNodeViewFactory" canonicalEditPolicyClassName="InitialNodeCanonicalEditPolicy" graphicalNodeEditPolicyClassName="InitialNodeGraphicalNodeEditPolicy" createCommandClassName="InitialNodeCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.InitialNode_3004" displayName="InitialNode">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.150/@elementType"/>
+ <childNodes
+ visualID="3004"
+ editPartClassName="InitialNodeEditPart"
+ itemSemanticEditPolicyClassName="InitialNodeItemSemanticEditPolicy"
+ notationViewFactoryClassName="InitialNodeViewFactory"
+ canonicalEditPolicyClassName="InitialNodeCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="InitialNodeGraphicalNodeEditPolicy"
+ createCommandClassName="InitialNodeCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.InitialNode_3004"
+ displayName="InitialNode">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.150/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.InitialNode"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.InitialNode"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InitialNode"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.4">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InitialNode"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.4">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5080" editPartClassName="InitialNodeAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="InitialNodeAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="InitialNodeLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5080"
+ editPartClassName="InitialNodeAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="InitialNodeAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="InitialNodeLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes visualID="3005" editPartClassName="ActivityFinalNodeEditPart" itemSemanticEditPolicyClassName="ActivityFinalNodeItemSemanticEditPolicy" notationViewFactoryClassName="ActivityFinalNodeViewFactory" canonicalEditPolicyClassName="ActivityFinalNodeCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ActivityFinalNodeGraphicalNodeEditPolicy" createCommandClassName="ActivityFinalNodeCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ActivityFinalNode_3005" displayName="ActivityFinalNode">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.92/@elementType"/>
+ <childNodes
+ visualID="3005"
+ editPartClassName="ActivityFinalNodeEditPart"
+ itemSemanticEditPolicyClassName="ActivityFinalNodeItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActivityFinalNodeViewFactory"
+ canonicalEditPolicyClassName="ActivityFinalNodeCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ActivityFinalNodeGraphicalNodeEditPolicy"
+ createCommandClassName="ActivityFinalNodeCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ActivityFinalNode_3005"
+ displayName="ActivityFinalNode">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.92/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.FinalNode">
- <attributes xsi:type="gmfgen:DefaultSizeAttributes" width="20" height="20"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.FinalNode">
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
</viewmap>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityFinalNode"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.5">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActivityFinalNode"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.5">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5081" editPartClassName="ActivityFinalNodeAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="ActivityFinalNodeAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="ActivityFinalNodeLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5081"
+ editPartClassName="ActivityFinalNodeAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="ActivityFinalNodeAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActivityFinalNodeLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes visualID="3006" editPartClassName="FlowFinalNodeEditPart" itemSemanticEditPolicyClassName="FlowFinalNodeItemSemanticEditPolicy" notationViewFactoryClassName="FlowFinalNodeViewFactory" canonicalEditPolicyClassName="FlowFinalNodeCanonicalEditPolicy" graphicalNodeEditPolicyClassName="FlowFinalNodeGraphicalNodeEditPolicy" createCommandClassName="FlowFinalNodeCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.FlowFinalNode_3006" displayName="FlowFinalNode">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.144/@elementType"/>
+ <childNodes
+ visualID="3006"
+ editPartClassName="FlowFinalNodeEditPart"
+ itemSemanticEditPolicyClassName="FlowFinalNodeItemSemanticEditPolicy"
+ notationViewFactoryClassName="FlowFinalNodeViewFactory"
+ canonicalEditPolicyClassName="FlowFinalNodeCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="FlowFinalNodeGraphicalNodeEditPolicy"
+ createCommandClassName="FlowFinalNodeCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.FlowFinalNode_3006"
+ displayName="FlowFinalNode">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.144/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.FlowFinalNode">
- <attributes xsi:type="gmfgen:DefaultSizeAttributes" width="20" height="20"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.FlowFinalNode">
+ <attributes
+ xsi:type="gmfgen:DefaultSizeAttributes"
+ width="20"
+ height="20"/>
</viewmap>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/FlowFinalNode"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.6">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/FlowFinalNode"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.6">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5082" editPartClassName="FlowFinalNodeAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="FlowFinalNodeAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="FlowFinalNodeLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5082"
+ editPartClassName="FlowFinalNodeAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="FlowFinalNodeAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="FlowFinalNodeLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes visualID="3007" editPartClassName="OpaqueActionEditPart" itemSemanticEditPolicyClassName="OpaqueActionItemSemanticEditPolicy" notationViewFactoryClassName="OpaqueActionViewFactory" canonicalEditPolicyClassName="OpaqueActionCanonicalEditPolicy" childNodes="/0/@diagram/@childNodes.7 /0/@diagram/@childNodes.8 /0/@diagram/@childNodes.9 /0/@diagram/@childNodes.10" graphicalNodeEditPolicyClassName="OpaqueActionGraphicalNodeEditPolicy" createCommandClassName="OpaqueActionCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.OpaqueAction_3007" displayName="OpaqueAction">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.161/@elementType"/>
+ <childNodes
+ visualID="3007"
+ editPartClassName="OpaqueActionEditPart"
+ itemSemanticEditPolicyClassName="OpaqueActionItemSemanticEditPolicy"
+ notationViewFactoryClassName="OpaqueActionViewFactory"
+ canonicalEditPolicyClassName="OpaqueActionCanonicalEditPolicy"
+ childNodes="/0/@diagram/@childNodes.7 /0/@diagram/@childNodes.8 /0/@diagram/@childNodes.9 /0/@diagram/@childNodes.10"
+ graphicalNodeEditPolicyClassName="OpaqueActionGraphicalNodeEditPolicy"
+ createCommandClassName="OpaqueActionCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.OpaqueAction_3007"
+ displayName="OpaqueAction">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.161/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.PapyrusRoundedNodeFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_CREATE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CreateActionLocalConditionEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="EditPolicy.GRAPHICAL_NODE_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.OpaqueActionObjectFlowWithPinsCreationEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.DeleteActionViewEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="EditPolicyRoles.DRAG_DROP_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CustomDiagramDragDropEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.RoundedCompartmentFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_CREATE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CreateActionLocalConditionEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="EditPolicy.GRAPHICAL_NODE_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.OpaqueActionObjectFlowWithPinsCreationEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.DeleteActionViewEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="EditPolicyRoles.DRAG_DROP_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CustomDiagramDragDropEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.7">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.7">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels visualID="5003" editPartClassName="OpaqueActionNameEditPart" itemSemanticEditPolicyClassName="OpaqueActionNameItemSemanticEditPolicy" notationViewFactoryClassName="OpaqueActionNameViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getNameLabel" figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" parser="/0/@labelParsers/@implementations.0">
- <metaFeatures href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <labels
+ visualID="5003"
+ editPartClassName="OpaqueActionNameEditPart"
+ itemSemanticEditPolicyClassName="OpaqueActionNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="OpaqueActionNameViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getNameLabel"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.0">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ </modelFacet>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="6028"
+ editPartClassName="OpaqueActionFloatingNameEditPart"
+ itemSemanticEditPolicyClassName="OpaqueActionFloatingNameItemSemanticEditPolicy">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.PRIMARY_DRAG_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.ExternalLabelPrimaryDragRoleEditPolicy"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.0"
+ viewPattern=""
+ editorPattern=""
+ editPattern="">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</modelFacet>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3015" editPartClassName="ValuePinInOpaqueActEditPart" itemSemanticEditPolicyClassName="ValuePinInOpaqueActItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinViewFactory" canonicalEditPolicyClassName="ValuePinInOpaqueActCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ValuePinInOpaqueActGraphicalNodeEditPolicy" createCommandClassName="ValuePinInOpaqueActCreateCommand" containers="/0/@diagram/@childNodes.6" preferredSideName="WEST">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ValuePin_3015" displayName="ValuePin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.191/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3015"
+ editPartClassName="ValuePinInOpaqueActEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInOpaqueActItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinViewFactory"
+ canonicalEditPolicyClassName="ValuePinInOpaqueActCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ValuePinInOpaqueActGraphicalNodeEditPolicy"
+ createCommandClassName="ValuePinInOpaqueActCreateCommand"
+ containers="/0/@diagram/@childNodes.6"
+ preferredSideName="WEST">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ValuePin_3015"
+ displayName="ValuePin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.191/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.PinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.PinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ValuePin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/inputValue"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/inputValue"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.8">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ValuePin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/inputValue"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/inputValue"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.8">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5011" editPartClassName="ValuePinInOActLabelEditPart" itemSemanticEditPolicyClassName="ValuePinInOActLabelItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5024" editPartClassName="ValuePinInOActValueEditPart" itemSemanticEditPolicyClassName="ValuePinInOActValueItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.7"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5083" editPartClassName="ValuePinInOActAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="ValuePinInOActAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5011"
+ editPartClassName="ValuePinInOActLabelEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInOActLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5024"
+ editPartClassName="ValuePinInOActValueEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInOActValueItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.7"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5083"
+ editPartClassName="ValuePinInOActAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInOActAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3016" editPartClassName="ActionInputPinInOpaqueActEditPart" itemSemanticEditPolicyClassName="ActionInputPinInOpaqueActItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinViewFactory" canonicalEditPolicyClassName="ActionInputPinInOpaqueActCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ActionInputPinInOpaqueActGraphicalNodeEditPolicy" createCommandClassName="ActionInputPinInOpaqueActCreateCommand" containers="/0/@diagram/@childNodes.6" preferredSideName="WEST">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ActionInputPin_3016" displayName="ActionInputPin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.91/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3016"
+ editPartClassName="ActionInputPinInOpaqueActEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInOpaqueActItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinViewFactory"
+ canonicalEditPolicyClassName="ActionInputPinInOpaqueActCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ActionInputPinInOpaqueActGraphicalNodeEditPolicy"
+ createCommandClassName="ActionInputPinInOpaqueActCreateCommand"
+ containers="/0/@diagram/@childNodes.6"
+ preferredSideName="WEST">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ActionInputPin_3016"
+ displayName="ActionInputPin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.91/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/inputValue"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/inputValue"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.9">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/inputValue"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/inputValue"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.9">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5012" editPartClassName="ActionInputPinInOActLabelEditPart" itemSemanticEditPolicyClassName="ActionInputPinInOActLabelItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5025" editPartClassName="ActionInputPinInOActValueEditPart" itemSemanticEditPolicyClassName="ActionInputPinInOActValueItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.7"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5084" editPartClassName="ActionInputPinInOActAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="ActionInputPinInOActAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5012"
+ editPartClassName="ActionInputPinInOActLabelEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInOActLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5025"
+ editPartClassName="ActionInputPinInOActValueEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInOActValueItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.7"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5084"
+ editPartClassName="ActionInputPinInOActAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInOActAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3013" editPartClassName="InputPinInOpaqueActEditPart" itemSemanticEditPolicyClassName="InputPinInOpaqueActItemSemanticEditPolicy" notationViewFactoryClassName="InputPinViewFactory" canonicalEditPolicyClassName="InputPinInOpaqueActCanonicalEditPolicy" graphicalNodeEditPolicyClassName="InputPinInOpaqueActGraphicalNodeEditPolicy" createCommandClassName="InputPinInOpaqueActCreateCommand" containers="/0/@diagram/@childNodes.6" preferredSideName="WEST">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.InputPin_3013" displayName="InputPin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.75/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3013"
+ editPartClassName="InputPinInOpaqueActEditPart"
+ itemSemanticEditPolicyClassName="InputPinInOpaqueActItemSemanticEditPolicy"
+ notationViewFactoryClassName="InputPinViewFactory"
+ canonicalEditPolicyClassName="InputPinInOpaqueActCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="InputPinInOpaqueActGraphicalNodeEditPolicy"
+ createCommandClassName="InputPinInOpaqueActCreateCommand"
+ containers="/0/@diagram/@childNodes.6"
+ preferredSideName="WEST">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.InputPin_3013"
+ displayName="InputPin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.75/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InputPin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/inputValue"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/inputValue"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.10">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InputPin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/inputValue"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/inputValue"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.10">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5009" editPartClassName="InputPinInOActLabelEditPart" itemSemanticEditPolicyClassName="InputPinInOActLabelItemSemanticEditPolicy" notationViewFactoryClassName="InputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5009"
+ editPartClassName="InputPinInOActLabelEditPart"
+ itemSemanticEditPolicyClassName="InputPinInOActLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="InputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
</labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5085" editPartClassName="InputPinInOActAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="InputPinInOActAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="InputPinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5085"
+ editPartClassName="InputPinInOActAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="InputPinInOActAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="InputPinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3014" editPartClassName="OutputPinInOpaqueActEditPart" itemSemanticEditPolicyClassName="OutputPinInOpaqueActItemSemanticEditPolicy" notationViewFactoryClassName="OutputPinViewFactory" canonicalEditPolicyClassName="OutputPinInOpaqueActCanonicalEditPolicy" graphicalNodeEditPolicyClassName="OutputPinInOpaqueActGraphicalNodeEditPolicy" createCommandClassName="OutputPinInOpaqueActCreateCommand" containers="/0/@diagram/@childNodes.6" preferredSideName="EAST">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.OutputPin_3014" displayName="OutputPin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.76/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3014"
+ editPartClassName="OutputPinInOpaqueActEditPart"
+ itemSemanticEditPolicyClassName="OutputPinInOpaqueActItemSemanticEditPolicy"
+ notationViewFactoryClassName="OutputPinViewFactory"
+ canonicalEditPolicyClassName="OutputPinInOpaqueActCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="OutputPinInOpaqueActGraphicalNodeEditPolicy"
+ createCommandClassName="OutputPinInOpaqueActCreateCommand"
+ containers="/0/@diagram/@childNodes.6"
+ preferredSideName="EAST">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.OutputPin_3014"
+ displayName="OutputPin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.76/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.OutputPinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.OutputPinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OutputPin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/outputValue"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/outputValue"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.11">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OutputPin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/outputValue"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueAction/outputValue"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.11">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5010" editPartClassName="OutputPinInOActLabelEditPart" itemSemanticEditPolicyClassName="OutputPinInOActLabelItemSemanticEditPolicy" notationViewFactoryClassName="OutputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5010"
+ editPartClassName="OutputPinInOActLabelEditPart"
+ itemSemanticEditPolicyClassName="OutputPinInOActLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="OutputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
</labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5086" editPartClassName="OutputPinInOActAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="OutputPinInOActAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="OutputPinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5086"
+ editPartClassName="OutputPinInOActAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="OutputPinInOActAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="OutputPinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes visualID="3008" editPartClassName="CallBehaviorActionEditPart" itemSemanticEditPolicyClassName="CallBehaviorActionItemSemanticEditPolicy" notationViewFactoryClassName="CallBehaviorActionViewFactory" canonicalEditPolicyClassName="CallBehaviorActionCanonicalEditPolicy" childNodes="/0/@diagram/@childNodes.12 /0/@diagram/@childNodes.13 /0/@diagram/@childNodes.14 /0/@diagram/@childNodes.15" graphicalNodeEditPolicyClassName="CallBehaviorActionGraphicalNodeEditPolicy" createCommandClassName="CallBehaviorActionCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.CallBehaviorAction_3008" displayName="CallBehaviorAction">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.100/@elementType"/>
+ <childNodes
+ visualID="3008"
+ editPartClassName="CallBehaviorActionEditPart"
+ itemSemanticEditPolicyClassName="CallBehaviorActionItemSemanticEditPolicy"
+ notationViewFactoryClassName="CallBehaviorActionViewFactory"
+ canonicalEditPolicyClassName="CallBehaviorActionCanonicalEditPolicy"
+ childNodes="/0/@diagram/@childNodes.12 /0/@diagram/@childNodes.13 /0/@diagram/@childNodes.14 /0/@diagram/@childNodes.15"
+ graphicalNodeEditPolicyClassName="CallBehaviorActionGraphicalNodeEditPolicy"
+ createCommandClassName="CallBehaviorActionCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.CallBehaviorAction_3008"
+ displayName="CallBehaviorAction">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.100/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.CallBehaviorActionFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_CREATE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CreateActionLocalConditionEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.DeleteActionViewEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="EditPolicyRoles.CANONICAL_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CallBehaviorActionCanonicalEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="EditPolicyRoles.DRAG_DROP_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CustomDiagramDragDropEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.CallBehaviorActionFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_CREATE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CreateActionLocalConditionEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.DeleteActionViewEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="EditPolicyRoles.CANONICAL_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CallBehaviorActionCanonicalEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="EditPolicyRoles.DRAG_DROP_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CustomDiagramDragDropEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallBehaviorAction"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.12">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallBehaviorAction"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.12">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels visualID="5004" editPartClassName="CallBehaviorActionNameEditPart" itemSemanticEditPolicyClassName="CallBehaviorActionNameItemSemanticEditPolicy" notationViewFactoryClassName="CallBehaviorActionNameViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getNameLabel" figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.5"/>
+ <labels
+ visualID="5004"
+ editPartClassName="CallBehaviorActionNameEditPart"
+ itemSemanticEditPolicyClassName="CallBehaviorActionNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="CallBehaviorActionNameViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getNameLabel"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.5"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="6029"
+ editPartClassName="CallBehaviorActionFloatingNameEditPart"
+ itemSemanticEditPolicyClassName="CallBehaviorActionFloatingNameItemSemanticEditPolicy">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.PRIMARY_DRAG_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.ExternalLabelPrimaryDragRoleEditPolicy"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.0"
+ viewPattern=""
+ editorPattern=""
+ editPattern="">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ </modelFacet>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3017" editPartClassName="ValuePinInCallBeActEditPart" itemSemanticEditPolicyClassName="ValuePinInCallBeActItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinViewFactory" canonicalEditPolicyClassName="ValuePinInCallBeActCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ValuePinInCallBeActGraphicalNodeEditPolicy" createCommandClassName="ValuePinInCallBeActCreateCommand" containers="/0/@diagram/@childNodes.11" preferredSideName="WEST">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ValuePin_3017" displayName="ValuePin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.191/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3017"
+ editPartClassName="ValuePinInCallBeActEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInCallBeActItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinViewFactory"
+ canonicalEditPolicyClassName="ValuePinInCallBeActCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ValuePinInCallBeActGraphicalNodeEditPolicy"
+ createCommandClassName="ValuePinInCallBeActCreateCommand"
+ containers="/0/@diagram/@childNodes.11"
+ preferredSideName="WEST">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ValuePin_3017"
+ displayName="ValuePin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.191/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.PinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.PinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ValuePin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.13">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ValuePin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.13">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5013" editPartClassName="ValuePinInCBActLabelEditPart" itemSemanticEditPolicyClassName="ValuePinInCBActLabelItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5026" editPartClassName="ValuePinInCBActValueEditPart" itemSemanticEditPolicyClassName="ValuePinInCBActValueItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.7"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5087" editPartClassName="ValuePinInCBActAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="ValuePinInCBActAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5013"
+ editPartClassName="ValuePinInCBActLabelEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInCBActLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5026"
+ editPartClassName="ValuePinInCBActValueEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInCBActValueItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.7"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5087"
+ editPartClassName="ValuePinInCBActAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInCBActAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3018" editPartClassName="ActionInputPinInCallBeActEditPart" itemSemanticEditPolicyClassName="ActionInputPinInCallBeActItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinViewFactory" canonicalEditPolicyClassName="ActionInputPinInCallBeActCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ActionInputPinInCallBeActGraphicalNodeEditPolicy" createCommandClassName="ActionInputPinInCallBeActCreateCommand" containers="/0/@diagram/@childNodes.11" preferredSideName="WEST">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ActionInputPin_3018" displayName="ActionInputPin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.91/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3018"
+ editPartClassName="ActionInputPinInCallBeActEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInCallBeActItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinViewFactory"
+ canonicalEditPolicyClassName="ActionInputPinInCallBeActCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ActionInputPinInCallBeActGraphicalNodeEditPolicy"
+ createCommandClassName="ActionInputPinInCallBeActCreateCommand"
+ containers="/0/@diagram/@childNodes.11"
+ preferredSideName="WEST">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ActionInputPin_3018"
+ displayName="ActionInputPin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.91/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.14">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.14">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5014" editPartClassName="ActionInputPinInCBActLabelEditPart" itemSemanticEditPolicyClassName="ActionInputPinInCBActLabelItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5027" editPartClassName="ActionInputPinInCBActValueEditPart" itemSemanticEditPolicyClassName="ActionInputPinInCBActValueItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.7"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5088" editPartClassName="ActionInputPinInCBActAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="ActionInputPinInCBActAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5014"
+ editPartClassName="ActionInputPinInCBActLabelEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInCBActLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5027"
+ editPartClassName="ActionInputPinInCBActValueEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInCBActValueItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.7"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5088"
+ editPartClassName="ActionInputPinInCBActAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInCBActAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3019" editPartClassName="InputPinInCallBeActEditPart" itemSemanticEditPolicyClassName="InputPinInCallBeActItemSemanticEditPolicy" notationViewFactoryClassName="InputPinViewFactory" canonicalEditPolicyClassName="InputPinInCallBeActCanonicalEditPolicy" graphicalNodeEditPolicyClassName="InputPinInCallBeActGraphicalNodeEditPolicy" createCommandClassName="InputPinInCallBeActCreateCommand" containers="/0/@diagram/@childNodes.11" preferredSideName="WEST">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.InputPin_3019" displayName="InputPin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.75/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3019"
+ editPartClassName="InputPinInCallBeActEditPart"
+ itemSemanticEditPolicyClassName="InputPinInCallBeActItemSemanticEditPolicy"
+ notationViewFactoryClassName="InputPinViewFactory"
+ canonicalEditPolicyClassName="InputPinInCallBeActCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="InputPinInCallBeActGraphicalNodeEditPolicy"
+ createCommandClassName="InputPinInCallBeActCreateCommand"
+ containers="/0/@diagram/@childNodes.11"
+ preferredSideName="WEST">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.InputPin_3019"
+ displayName="InputPin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.75/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InputPin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.15">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InputPin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.15">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5015" editPartClassName="InputPinInCBActLabelEditPart" itemSemanticEditPolicyClassName="InputPinInCBActLabelItemSemanticEditPolicy" notationViewFactoryClassName="InputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5015"
+ editPartClassName="InputPinInCBActLabelEditPart"
+ itemSemanticEditPolicyClassName="InputPinInCBActLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="InputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
</labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5089" editPartClassName="InputPinInCBActAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="InputPinInCBActAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="InputPinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5089"
+ editPartClassName="InputPinInCBActAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="InputPinInCBActAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="InputPinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3020" editPartClassName="OutputPinInCallBeActEditPart" itemSemanticEditPolicyClassName="OutputPinInCallBeActItemSemanticEditPolicy" notationViewFactoryClassName="OutputPinViewFactory" canonicalEditPolicyClassName="OutputPinInCallBeActCanonicalEditPolicy" graphicalNodeEditPolicyClassName="OutputPinInCallBeActGraphicalNodeEditPolicy" createCommandClassName="OutputPinInCallBeActCreateCommand" containers="/0/@diagram/@childNodes.11" preferredSideName="EAST">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.OutputPin_3020" displayName="OutputPin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.76/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3020"
+ editPartClassName="OutputPinInCallBeActEditPart"
+ itemSemanticEditPolicyClassName="OutputPinInCallBeActItemSemanticEditPolicy"
+ notationViewFactoryClassName="OutputPinViewFactory"
+ canonicalEditPolicyClassName="OutputPinInCallBeActCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="OutputPinInCallBeActGraphicalNodeEditPolicy"
+ createCommandClassName="OutputPinInCallBeActCreateCommand"
+ containers="/0/@diagram/@childNodes.11"
+ preferredSideName="EAST">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.OutputPin_3020"
+ displayName="OutputPin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.76/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.OutputPinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.OutputPinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OutputPin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallAction/result"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallAction/result"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.16">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OutputPin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallAction/result"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallAction/result"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.16">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5016" editPartClassName="OutputPinInCBActLabelEditPart" itemSemanticEditPolicyClassName="OutputPinInCBActLabelItemSemanticEditPolicy" notationViewFactoryClassName="OutputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5016"
+ editPartClassName="OutputPinInCBActLabelEditPart"
+ itemSemanticEditPolicyClassName="OutputPinInCBActLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="OutputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
</labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5090" editPartClassName="OutputPinInCBActAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="OutputPinInCBActAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="OutputPinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5090"
+ editPartClassName="OutputPinInCBActAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="OutputPinInCBActAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="OutputPinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes visualID="3010" editPartClassName="CallOperationActionEditPart" itemSemanticEditPolicyClassName="CallOperationActionItemSemanticEditPolicy" notationViewFactoryClassName="CallOperationActionViewFactory" canonicalEditPolicyClassName="CallOperationActionCanonicalEditPolicy" childNodes="/0/@diagram/@childNodes.17 /0/@diagram/@childNodes.18 /0/@diagram/@childNodes.19 /0/@diagram/@childNodes.20 /0/@diagram/@childNodes.21 /0/@diagram/@childNodes.22 /0/@diagram/@childNodes.23" graphicalNodeEditPolicyClassName="CallOperationActionGraphicalNodeEditPolicy" createCommandClassName="CallOperationActionCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.CallOperationAction_3010" displayName="CallOperationAction">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.102/@elementType"/>
+ <childNodes
+ visualID="3010"
+ editPartClassName="CallOperationActionEditPart"
+ itemSemanticEditPolicyClassName="CallOperationActionItemSemanticEditPolicy"
+ notationViewFactoryClassName="CallOperationActionViewFactory"
+ canonicalEditPolicyClassName="CallOperationActionCanonicalEditPolicy"
+ childNodes="/0/@diagram/@childNodes.17 /0/@diagram/@childNodes.18 /0/@diagram/@childNodes.19 /0/@diagram/@childNodes.20 /0/@diagram/@childNodes.21 /0/@diagram/@childNodes.22 /0/@diagram/@childNodes.23"
+ graphicalNodeEditPolicyClassName="CallOperationActionGraphicalNodeEditPolicy"
+ createCommandClassName="CallOperationActionCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.CallOperationAction_3010"
+ displayName="CallOperationAction">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.102/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.PapyrusRoundedNodeFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_CREATE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CreateActionLocalConditionEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.DeleteActionViewEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="EditPolicyRoles.CANONICAL_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CallOperationActionCanonicalEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="EditPolicyRoles.DRAG_DROP_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CustomDiagramDragDropEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.RoundedCompartmentFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_CREATE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CreateActionLocalConditionEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.DeleteActionViewEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="EditPolicyRoles.CANONICAL_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CallOperationActionCanonicalEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="EditPolicyRoles.DRAG_DROP_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.CustomDiagramDragDropEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.17">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.17">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels visualID="5006" editPartClassName="CallOperationActionNameEditPart" itemSemanticEditPolicyClassName="CallOperationActionNameItemSemanticEditPolicy" notationViewFactoryClassName="CallOperationActionNameViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getNameLabel" figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.4"/>
+ <labels
+ visualID="5006"
+ editPartClassName="CallOperationActionNameEditPart"
+ itemSemanticEditPolicyClassName="CallOperationActionNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="CallOperationActionNameViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getNameLabel"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.4"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="6020"
+ editPartClassName="CallOperationActionFloatingNameEditPart"
+ itemSemanticEditPolicyClassName="CallOperationActionFloatingNameItemSemanticEditPolicy">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.PRIMARY_DRAG_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.ExternalLabelPrimaryDragRoleEditPolicy"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.0"
+ viewPattern=""
+ editorPattern=""
+ editPattern="">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ </modelFacet>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3021" editPartClassName="ActionInputPinInCallOpActEditPart" itemSemanticEditPolicyClassName="ActionInputPinInCallOpActItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinViewFactory" canonicalEditPolicyClassName="ActionInputPinInCallOpActCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ActionInputPinInCallOpActGraphicalNodeEditPolicy" createCommandClassName="ActionInputPinInCallOpActCreateCommand" containers="/0/@diagram/@childNodes.16" preferredSideName="WEST">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ActionInputPin_3021" displayName="ActionInputPin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.91/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3021"
+ editPartClassName="ActionInputPinInCallOpActEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInCallOpActItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinViewFactory"
+ canonicalEditPolicyClassName="ActionInputPinInCallOpActCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ActionInputPinInCallOpActGraphicalNodeEditPolicy"
+ createCommandClassName="ActionInputPinInCallOpActCreateCommand"
+ containers="/0/@diagram/@childNodes.16"
+ preferredSideName="WEST">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ActionInputPin_3021"
+ displayName="ActionInputPin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.91/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.0">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.18">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.0">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.18">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5017" editPartClassName="ActionInputPinInCOActLabelEditPart" itemSemanticEditPolicyClassName="ActionInputPinInCOActLabelItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5028" editPartClassName="ActionInputPinInCOActValueEditPart" itemSemanticEditPolicyClassName="ActionInputPinInCOActValueItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.7"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5091" editPartClassName="ActionInputPinInCOActAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="ActionInputPinInCOActAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5017"
+ editPartClassName="ActionInputPinInCOActLabelEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInCOActLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5028"
+ editPartClassName="ActionInputPinInCOActValueEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInCOActValueItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.7"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5091"
+ editPartClassName="ActionInputPinInCOActAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInCOActAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3022" editPartClassName="ValuePinInCallOpActEditPart" itemSemanticEditPolicyClassName="ValuePinInCallOpActItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinViewFactory" canonicalEditPolicyClassName="ValuePinInCallOpActCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ValuePinInCallOpActGraphicalNodeEditPolicy" createCommandClassName="ValuePinInCallOpActCreateCommand" containers="/0/@diagram/@childNodes.16" preferredSideName="WEST">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ValuePin_3022" displayName="ValuePin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.191/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3022"
+ editPartClassName="ValuePinInCallOpActEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInCallOpActItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinViewFactory"
+ canonicalEditPolicyClassName="ValuePinInCallOpActCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ValuePinInCallOpActGraphicalNodeEditPolicy"
+ createCommandClassName="ValuePinInCallOpActCreateCommand"
+ containers="/0/@diagram/@childNodes.16"
+ preferredSideName="WEST">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ValuePin_3022"
+ displayName="ValuePin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.191/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.PinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.1">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ValuePin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.19">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.PinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.1">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ValuePin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.19">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5018" editPartClassName="ValuePinInCOActLabelEditPart" itemSemanticEditPolicyClassName="ValuePinInCOActLabelItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5029" editPartClassName="ValuePinInCOActValueEditPart" itemSemanticEditPolicyClassName="ValuePinInCOActValueItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.7"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5092" editPartClassName="ValuePinInCOActAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="ValuePinInCOActAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5018"
+ editPartClassName="ValuePinInCOActLabelEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInCOActLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5029"
+ editPartClassName="ValuePinInCOActValueEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInCOActValueItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.7"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5092"
+ editPartClassName="ValuePinInCOActAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInCOActAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3023" editPartClassName="InputPinInCallOpActEditPart" itemSemanticEditPolicyClassName="InputPinInCallOpActItemSemanticEditPolicy" notationViewFactoryClassName="InputPinViewFactory" canonicalEditPolicyClassName="InputPinInCallOpActCanonicalEditPolicy" graphicalNodeEditPolicyClassName="InputPinInCallOpActGraphicalNodeEditPolicy" createCommandClassName="InputPinInCallOpActCreateCommand" containers="/0/@diagram/@childNodes.16" preferredSideName="WEST">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.InputPin_3023" displayName="InputPin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.75/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3023"
+ editPartClassName="InputPinInCallOpActEditPart"
+ itemSemanticEditPolicyClassName="InputPinInCallOpActItemSemanticEditPolicy"
+ notationViewFactoryClassName="InputPinViewFactory"
+ canonicalEditPolicyClassName="InputPinInCallOpActCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="InputPinInCallOpActGraphicalNodeEditPolicy"
+ createCommandClassName="InputPinInCallOpActCreateCommand"
+ containers="/0/@diagram/@childNodes.16"
+ preferredSideName="WEST">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.InputPin_3023"
+ displayName="InputPin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.75/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.2">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InputPin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.20">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.2">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InputPin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InvocationAction/argument"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.20">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5019" editPartClassName="InputPinInCOActLabelEditPart" itemSemanticEditPolicyClassName="InputPinInCOActLabelItemSemanticEditPolicy" notationViewFactoryClassName="InputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5019"
+ editPartClassName="InputPinInCOActLabelEditPart"
+ itemSemanticEditPolicyClassName="InputPinInCOActLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="InputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
</labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5093" editPartClassName="InputPinInCOActAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="InputPinInCOActAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="InputPinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5093"
+ editPartClassName="InputPinInCOActAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="InputPinInCOActAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="InputPinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3024" editPartClassName="OutputPinInCallOpActEditPart" itemSemanticEditPolicyClassName="OutputPinInCallOpActItemSemanticEditPolicy" notationViewFactoryClassName="OutputPinViewFactory" canonicalEditPolicyClassName="OutputPinInCallOpActCanonicalEditPolicy" graphicalNodeEditPolicyClassName="OutputPinInCallOpActGraphicalNodeEditPolicy" createCommandClassName="OutputPinInCallOpActCreateCommand" containers="/0/@diagram/@childNodes.16" preferredSideName="EAST">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.OutputPin_3024" displayName="OutputPin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.76/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3024"
+ editPartClassName="OutputPinInCallOpActEditPart"
+ itemSemanticEditPolicyClassName="OutputPinInCallOpActItemSemanticEditPolicy"
+ notationViewFactoryClassName="OutputPinViewFactory"
+ canonicalEditPolicyClassName="OutputPinInCallOpActCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="OutputPinInCallOpActGraphicalNodeEditPolicy"
+ createCommandClassName="OutputPinInCallOpActCreateCommand"
+ containers="/0/@diagram/@childNodes.16"
+ preferredSideName="EAST">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.OutputPin_3024"
+ displayName="OutputPin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.76/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.OutputPinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.OutputPinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OutputPin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallAction/result"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallAction/result"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.21">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OutputPin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallAction/result"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallAction/result"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.21">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5020" editPartClassName="OutputPinInCOActLabelEditPart" itemSemanticEditPolicyClassName="OutputPinInCOActLabelItemSemanticEditPolicy" notationViewFactoryClassName="OutputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5020"
+ editPartClassName="OutputPinInCOActLabelEditPart"
+ itemSemanticEditPolicyClassName="OutputPinInCOActLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="OutputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
</labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5094" editPartClassName="OutputPinInCOActAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="OutputPinInCOActAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="OutputPinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5094"
+ editPartClassName="OutputPinInCOActAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="OutputPinInCOActAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="OutputPinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3025" editPartClassName="ValuePinInCallOpActAsTargetEditPart" itemSemanticEditPolicyClassName="ValuePinInCallOpActAsTargetItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinViewFactory" canonicalEditPolicyClassName="ValuePinInCallOpActAsTargetCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ValuePinInCallOpActAsTargetGraphicalNodeEditPolicy" createCommandClassName="ValuePinInCallOpActAsTargetCreateCommand" containers="/0/@diagram/@childNodes.16" preferredSideName="NORTH">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ValuePin_3025" displayName="ValuePin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.191/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3025"
+ editPartClassName="ValuePinInCallOpActAsTargetEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInCallOpActAsTargetItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinViewFactory"
+ canonicalEditPolicyClassName="ValuePinInCallOpActAsTargetCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ValuePinInCallOpActAsTargetGraphicalNodeEditPolicy"
+ createCommandClassName="ValuePinInCallOpActAsTargetCreateCommand"
+ containers="/0/@diagram/@childNodes.16"
+ preferredSideName="NORTH">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ValuePin_3025"
+ displayName="ValuePin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.191/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.PinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.3">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ValuePin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction/target"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction/target"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.22">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.PinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.3">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ValuePin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction/target"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction/target"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.22">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5021" editPartClassName="ValuePinInCOActAsTargetLabelEditPart" itemSemanticEditPolicyClassName="ValuePinInCOActAsTargetLabelItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5030" editPartClassName="ValuePinInCOActAsTargetValueEditPart" itemSemanticEditPolicyClassName="ValuePinInCOActAsTargetValueItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.7"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5095" editPartClassName="ValuePinInCOActAsTargetAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="ValuePinInCOActAsTargetAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="ValuePinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5021"
+ editPartClassName="ValuePinInCOActAsTargetLabelEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInCOActAsTargetLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5030"
+ editPartClassName="ValuePinInCOActAsTargetValueEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInCOActAsTargetValueItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.7"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5095"
+ editPartClassName="ValuePinInCOActAsTargetAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="ValuePinInCOActAsTargetAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="ValuePinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3026" editPartClassName="ActionInputPinInCallOpActAsTargetEditPart" itemSemanticEditPolicyClassName="ActionInputPinInCallOpActAsTargetItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinViewFactory" canonicalEditPolicyClassName="ActionInputPinInCallOpActAsTargetCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ActionInputPinInCallOpActAsTargetGraphicalNodeEditPolicy" createCommandClassName="ActionInputPinInCallOpActAsTargetCreateCommand" containers="/0/@diagram/@childNodes.16" preferredSideName="NORTH">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ActionInputPin_3026" displayName="ActionInputPin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.91/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3026"
+ editPartClassName="ActionInputPinInCallOpActAsTargetEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInCallOpActAsTargetItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinViewFactory"
+ canonicalEditPolicyClassName="ActionInputPinInCallOpActAsTargetCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ActionInputPinInCallOpActAsTargetGraphicalNodeEditPolicy"
+ createCommandClassName="ActionInputPinInCallOpActAsTargetCreateCommand"
+ containers="/0/@diagram/@childNodes.16"
+ preferredSideName="NORTH">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.ActionInputPin_3026"
+ displayName="ActionInputPin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.91/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.4">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction/target"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction/target"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.23">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.4">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ActionInputPin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction/target"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction/target"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.23">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5022" editPartClassName="ActionInputPinInCOActAsTargetLabelEditPart" itemSemanticEditPolicyClassName="ActionInputPinInCOActAsTargetLabelItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5031" editPartClassName="ActionInputPinInCOActAsTargetValueEditPart" itemSemanticEditPolicyClassName="ActionInputPinInCOActAsTargetValueItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.7"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5096" editPartClassName="ActionInputPinInCOActAsTargetAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="ActionInputPinInCOActAsTargetAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="ActionInputPinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5022"
+ editPartClassName="ActionInputPinInCOActAsTargetLabelEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInCOActAsTargetLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5031"
+ editPartClassName="ActionInputPinInCOActAsTargetValueEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInCOActAsTargetValueItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.7"/>
+ </labels>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5096"
+ editPartClassName="ActionInputPinInCOActAsTargetAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="ActionInputPinInCOActAsTargetAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="ActionInputPinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes xsi:type="gmfgen:GenChildSideAffixedNode" visualID="3027" editPartClassName="InputPinInCallOpActAsTargetEditPart" itemSemanticEditPolicyClassName="InputPinInCallOpActAsTargetItemSemanticEditPolicy" notationViewFactoryClassName="InputPinViewFactory" canonicalEditPolicyClassName="InputPinInCallOpActAsTargetCanonicalEditPolicy" graphicalNodeEditPolicyClassName="InputPinInCallOpActAsTargetGraphicalNodeEditPolicy" createCommandClassName="InputPinInCallOpActAsTargetCreateCommand" containers="/0/@diagram/@childNodes.16" preferredSideName="NORTH">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.InputPin_3027" displayName="InputPin">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.75/@elementType"/>
+ <childNodes
+ xsi:type="gmfgen:GenChildSideAffixedNode"
+ visualID="3027"
+ editPartClassName="InputPinInCallOpActAsTargetEditPart"
+ itemSemanticEditPolicyClassName="InputPinInCallOpActAsTargetItemSemanticEditPolicy"
+ notationViewFactoryClassName="InputPinViewFactory"
+ canonicalEditPolicyClassName="InputPinInCallOpActAsTargetCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="InputPinInCallOpActAsTargetGraphicalNodeEditPolicy"
+ createCommandClassName="InputPinInCallOpActAsTargetCreateCommand"
+ containers="/0/@diagram/@childNodes.16"
+ preferredSideName="NORTH">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.InputPin_3027"
+ displayName="InputPin">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.75/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="RequestConstants.REQ_DELETE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.5">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InputPin"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction/target"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction/target"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.24">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.InputPinFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="RequestConstants.REQ_DELETE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.NoDeleteFromDiagramEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.PinLayoutEditPolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.5">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InputPin"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction/target"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/CallOperationAction/target"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.24">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5023" editPartClassName="InputPinInCOActAsTargetLabelEditPart" itemSemanticEditPolicyClassName="InputPinInCOActAsTargetLabelItemSemanticEditPolicy" notationViewFactoryClassName="InputPinLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
- <modelFacet parser="/0/@labelParsers/@implementations.6"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5023"
+ editPartClassName="InputPinInCOActAsTargetLabelEditPart"
+ itemSemanticEditPolicyClassName="InputPinInCOActAsTargetLabelItemSemanticEditPolicy"
+ notationViewFactoryClassName="InputPinLabelViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.SimpleLabel"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.6"/>
</labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5097" editPartClassName="InputPinInCOActAsTargetAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="InputPinInCOActAsTargetAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="InputPinLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.1"/>
+ <labels
+ xsi:type="gmfgen:GenExternalNodeLabel"
+ visualID="5097"
+ editPartClassName="InputPinInCOActAsTargetAppliedStereotypeEditPart"
+ itemSemanticEditPolicyClassName="InputPinInCOActAsTargetAppliedStereotypeItemSemanticEditPolicy"
+ notationViewFactoryClassName="InputPinLabelViewFactory"
+ readOnly="true"
+ elementIcon="true">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.1"/>
</labels>
</childNodes>
- <childNodes visualID="3034" editPartClassName="DurationConstraintAsLocalPrecondEditPart" itemSemanticEditPolicyClassName="DurationConstraintAsLocalPrecondItemSemanticEditPolicy" notationViewFactoryClassName="DurationConstraintViewFactory" canonicalEditPolicyClassName="DurationConstraintAsLocalPrecondCanonicalEditPolicy" graphicalNodeEditPolicyClassName="DurationConstraintAsLocalPrecondGraphicalNodeEditPolicy" createCommandClassName="DurationConstraintAsLocalPrecondCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.DurationConstraint_3034" displayName="DurationConstraint">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.134/@elementType"/>
+ <childNodes
+ visualID="3034"
+ editPartClassName="DurationConstraintAsLocalPrecondEditPart"
+ itemSemanticEditPolicyClassName="DurationConstraintAsLocalPrecondItemSemanticEditPolicy"
+ notationViewFactoryClassName="DurationConstraintViewFactory"
+ canonicalEditPolicyClassName="DurationConstraintAsLocalPrecondCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="DurationConstraintAsLocalPrecondGraphicalNodeEditPolicy"
+ createCommandClassName="DurationConstraintAsLocalPrecondCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.DurationConstraint_3034"
+ displayName="DurationConstraint">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.134/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPreconditionConstraintFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.6">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DurationConstraint"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.25">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPreconditionConstraintFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.6">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DurationConstraint"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.25">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <initializers xsi:type="gmfgen:GenReferenceNewElementSpec">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
+ <initializers
+ xsi:type="gmfgen:GenReferenceNewElementSpec">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
<newElementInitializers>
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.26">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.26">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <elementClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DurationInterval"/>
+ <elementClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DurationInterval"/>
</newElementInitializers>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels visualID="5038" editPartClassName="DurationConstraintAsLocalPrecondNameEditPart" itemSemanticEditPolicyClassName="DurationConstraintAsLocalPrecondNameItemSemanticEditPolicy" notationViewFactoryClassName="DurationConstraintNameViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getNameLabel" figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" parser="/0/@labelParsers/@implementations.0" viewPattern="" editorPattern="" editPattern="">
- <metaFeatures href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <labels
+ visualID="5038"
+ editPartClassName="DurationConstraintAsLocalPrecondNameEditPart"
+ itemSemanticEditPolicyClassName="DurationConstraintAsLocalPrecondNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="DurationConstraintNameViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getNameLabel"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.0"
+ viewPattern=""
+ editorPattern=""
+ editPattern="">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</modelFacet>
</labels>
- <labels visualID="5130" editPartClassName="DurationConstraintAsLocalPrecondBodyEditPart" itemSemanticEditPolicyClassName="DurationConstraintAsLocalPrecondBodyItemSemanticEditPolicy" notationViewFactoryClassName="DurationConstraintSpecificationViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getConstraintFigure" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
- <modelFacet parser="/0/@labelParsers/@implementations.22"/>
+ <labels
+ visualID="5130"
+ editPartClassName="DurationConstraintAsLocalPrecondBodyEditPart"
+ itemSemanticEditPolicyClassName="DurationConstraintAsLocalPrecondBodyItemSemanticEditPolicy"
+ notationViewFactoryClassName="DurationConstraintSpecificationViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getConstraintFigure"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.22"/>
</labels>
</childNodes>
- <childNodes visualID="3035" editPartClassName="DurationConstraintAsLocalPostcondEditPart" itemSemanticEditPolicyClassName="DurationConstraintAsLocalPostcondItemSemanticEditPolicy" notationViewFactoryClassName="DurationConstraintViewFactory" canonicalEditPolicyClassName="DurationConstraintAsLocalPostcondCanonicalEditPolicy" graphicalNodeEditPolicyClassName="DurationConstraintAsLocalPostcondGraphicalNodeEditPolicy" createCommandClassName="DurationConstraintAsLocalPostcondCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.DurationConstraint_3035" displayName="DurationConstraint">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.134/@elementType"/>
+ <childNodes
+ visualID="3035"
+ editPartClassName="DurationConstraintAsLocalPostcondEditPart"
+ itemSemanticEditPolicyClassName="DurationConstraintAsLocalPostcondItemSemanticEditPolicy"
+ notationViewFactoryClassName="DurationConstraintViewFactory"
+ canonicalEditPolicyClassName="DurationConstraintAsLocalPostcondCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="DurationConstraintAsLocalPostcondGraphicalNodeEditPolicy"
+ createCommandClassName="DurationConstraintAsLocalPostcondCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.DurationConstraint_3035"
+ displayName="DurationConstraint">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.134/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPostconditionConstraintFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.7">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DurationConstraint"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.27">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPostconditionConstraintFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.7">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DurationConstraint"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.27">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <initializers xsi:type="gmfgen:GenReferenceNewElementSpec">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
+ <initializers
+ xsi:type="gmfgen:GenReferenceNewElementSpec">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
<newElementInitializers>
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.28">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.28">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <elementClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DurationInterval"/>
+ <elementClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DurationInterval"/>
</newElementInitializers>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels visualID="5039" editPartClassName="DurationConstraintAsLocalPostcondNameEditPart" itemSemanticEditPolicyClassName="DurationConstraintAsLocalPostcondNameItemSemanticEditPolicy" notationViewFactoryClassName="DurationConstraintNameViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getNameLabel" figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" parser="/0/@labelParsers/@implementations.0" viewPattern="" editorPattern="" editPattern="">
- <metaFeatures href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <labels
+ visualID="5039"
+ editPartClassName="DurationConstraintAsLocalPostcondNameEditPart"
+ itemSemanticEditPolicyClassName="DurationConstraintAsLocalPostcondNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="DurationConstraintNameViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getNameLabel"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.0"
+ viewPattern=""
+ editorPattern=""
+ editPattern="">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</modelFacet>
</labels>
- <labels visualID="5131" editPartClassName="DurationConstraintAsLocalPostcondBodyEditPart" itemSemanticEditPolicyClassName="DurationConstraintAsLocalPostcondBodyItemSemanticEditPolicy" notationViewFactoryClassName="DurationConstraintSpecificationViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getConstraintFigure" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
- <modelFacet parser="/0/@labelParsers/@implementations.22"/>
+ <labels
+ visualID="5131"
+ editPartClassName="DurationConstraintAsLocalPostcondBodyEditPart"
+ itemSemanticEditPolicyClassName="DurationConstraintAsLocalPostcondBodyItemSemanticEditPolicy"
+ notationViewFactoryClassName="DurationConstraintSpecificationViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getConstraintFigure"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.22"/>
</labels>
</childNodes>
- <childNodes visualID="3036" editPartClassName="TimeConstraintAsLocalPrecondEditPart" itemSemanticEditPolicyClassName="TimeConstraintAsLocalPrecondItemSemanticEditPolicy" notationViewFactoryClassName="TimeConstraintViewFactory" canonicalEditPolicyClassName="TimeConstraintAsLocalPrecondCanonicalEditPolicy" graphicalNodeEditPolicyClassName="TimeConstraintAsLocalPrecondGraphicalNodeEditPolicy" createCommandClassName="TimeConstraintAsLocalPrecondCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.TimeConstraint_3036" displayName="TimeConstraint">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.185/@elementType"/>
+ <childNodes
+ visualID="3036"
+ editPartClassName="TimeConstraintAsLocalPrecondEditPart"
+ itemSemanticEditPolicyClassName="TimeConstraintAsLocalPrecondItemSemanticEditPolicy"
+ notationViewFactoryClassName="TimeConstraintViewFactory"
+ canonicalEditPolicyClassName="TimeConstraintAsLocalPrecondCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="TimeConstraintAsLocalPrecondGraphicalNodeEditPolicy"
+ createCommandClassName="TimeConstraintAsLocalPrecondCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.TimeConstraint_3036"
+ displayName="TimeConstraint">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.185/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPreconditionConstraintFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.8">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/TimeConstraint"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.29">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPreconditionConstraintFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.8">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/TimeConstraint"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.29">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <initializers xsi:type="gmfgen:GenReferenceNewElementSpec">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
+ <initializers
+ xsi:type="gmfgen:GenReferenceNewElementSpec">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
<newElementInitializers>
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.30">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.30">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <elementClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/TimeInterval"/>
+ <elementClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/TimeInterval"/>
</newElementInitializers>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels visualID="5040" editPartClassName="TimeConstraintAsLocalPrecondNameEditPart" itemSemanticEditPolicyClassName="TimeConstraintAsLocalPrecondNameItemSemanticEditPolicy" notationViewFactoryClassName="TimeConstraintNameViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getNameLabel" figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" parser="/0/@labelParsers/@implementations.0" viewPattern="" editorPattern="" editPattern="">
- <metaFeatures href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <labels
+ visualID="5040"
+ editPartClassName="TimeConstraintAsLocalPrecondNameEditPart"
+ itemSemanticEditPolicyClassName="TimeConstraintAsLocalPrecondNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="TimeConstraintNameViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getNameLabel"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.0"
+ viewPattern=""
+ editorPattern=""
+ editPattern="">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</modelFacet>
</labels>
- <labels visualID="5132" editPartClassName="TimeConstraintAsLocalPrecondBodyEditPart" itemSemanticEditPolicyClassName="TimeConstraintAsLocalPrecondBodyItemSemanticEditPolicy" notationViewFactoryClassName="TimeConstraintSpecificationViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getConstraintFigure" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
- <modelFacet parser="/0/@labelParsers/@implementations.22"/>
+ <labels
+ visualID="5132"
+ editPartClassName="TimeConstraintAsLocalPrecondBodyEditPart"
+ itemSemanticEditPolicyClassName="TimeConstraintAsLocalPrecondBodyItemSemanticEditPolicy"
+ notationViewFactoryClassName="TimeConstraintSpecificationViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getConstraintFigure"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.22"/>
</labels>
</childNodes>
- <childNodes visualID="3037" editPartClassName="TimeConstraintAsLocalPostcondEditPart" itemSemanticEditPolicyClassName="TimeConstraintAsLocalPostcondItemSemanticEditPolicy" notationViewFactoryClassName="TimeConstraintViewFactory" canonicalEditPolicyClassName="TimeConstraintAsLocalPostcondCanonicalEditPolicy" graphicalNodeEditPolicyClassName="TimeConstraintAsLocalPostcondGraphicalNodeEditPolicy" createCommandClassName="TimeConstraintAsLocalPostcondCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.TimeConstraint_3037" displayName="TimeConstraint">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.185/@elementType"/>
+ <childNodes
+ visualID="3037"
+ editPartClassName="TimeConstraintAsLocalPostcondEditPart"
+ itemSemanticEditPolicyClassName="TimeConstraintAsLocalPostcondItemSemanticEditPolicy"
+ notationViewFactoryClassName="TimeConstraintViewFactory"
+ canonicalEditPolicyClassName="TimeConstraintAsLocalPostcondCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="TimeConstraintAsLocalPostcondGraphicalNodeEditPolicy"
+ createCommandClassName="TimeConstraintAsLocalPostcondCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.TimeConstraint_3037"
+ displayName="TimeConstraint">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.185/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPostconditionConstraintFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.9">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/TimeConstraint"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.31">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPostconditionConstraintFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.9">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/TimeConstraint"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.31">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <initializers xsi:type="gmfgen:GenReferenceNewElementSpec">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
+ <initializers
+ xsi:type="gmfgen:GenReferenceNewElementSpec">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
<newElementInitializers>
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.32">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.32">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <elementClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/TimeInterval"/>
+ <elementClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/TimeInterval"/>
</newElementInitializers>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels visualID="5041" editPartClassName="TimeConstraintAsLocalPostcondNameEditPart" itemSemanticEditPolicyClassName="TimeConstraintAsLocalPostcondNameItemSemanticEditPolicy" notationViewFactoryClassName="TimeConstraintNameViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getNameLabel" figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" parser="/0/@labelParsers/@implementations.0" viewPattern="" editorPattern="" editPattern="">
- <metaFeatures href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <labels
+ visualID="5041"
+ editPartClassName="TimeConstraintAsLocalPostcondNameEditPart"
+ itemSemanticEditPolicyClassName="TimeConstraintAsLocalPostcondNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="TimeConstraintNameViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getNameLabel"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.0"
+ viewPattern=""
+ editorPattern=""
+ editPattern="">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</modelFacet>
</labels>
- <labels visualID="5133" editPartClassName="TimeConstraintAsLocalPostcondBodyEditPart" itemSemanticEditPolicyClassName="TimeConstraintAsLocalPostcondBodyItemSemanticEditPolicy" notationViewFactoryClassName="TimeConstraintSpecificationViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getConstraintFigure" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
- <modelFacet parser="/0/@labelParsers/@implementations.22"/>
+ <labels
+ visualID="5133"
+ editPartClassName="TimeConstraintAsLocalPostcondBodyEditPart"
+ itemSemanticEditPolicyClassName="TimeConstraintAsLocalPostcondBodyItemSemanticEditPolicy"
+ notationViewFactoryClassName="TimeConstraintSpecificationViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getConstraintFigure"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.22"/>
</labels>
</childNodes>
- <childNodes visualID="3032" editPartClassName="IntervalConstraintAsLocalPrecondEditPart" itemSemanticEditPolicyClassName="IntervalConstraintAsLocalPrecondItemSemanticEditPolicy" notationViewFactoryClassName="IntervalConstraintViewFactory" canonicalEditPolicyClassName="IntervalConstraintAsLocalPrecondCanonicalEditPolicy" graphicalNodeEditPolicyClassName="IntervalConstraintAsLocalPrecondGraphicalNodeEditPolicy" createCommandClassName="IntervalConstraintAsLocalPrecondCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.IntervalConstraint_3032" displayName="IntervalConstraint">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.135/@elementType"/>
+ <childNodes
+ visualID="3032"
+ editPartClassName="IntervalConstraintAsLocalPrecondEditPart"
+ itemSemanticEditPolicyClassName="IntervalConstraintAsLocalPrecondItemSemanticEditPolicy"
+ notationViewFactoryClassName="IntervalConstraintViewFactory"
+ canonicalEditPolicyClassName="IntervalConstraintAsLocalPrecondCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="IntervalConstraintAsLocalPrecondGraphicalNodeEditPolicy"
+ createCommandClassName="IntervalConstraintAsLocalPrecondCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.IntervalConstraint_3032"
+ displayName="IntervalConstraint">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.135/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPreconditionConstraintFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.10">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/IntervalConstraint"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.33">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPreconditionConstraintFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.10">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/IntervalConstraint"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.33">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <initializers xsi:type="gmfgen:GenReferenceNewElementSpec">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
+ <initializers
+ xsi:type="gmfgen:GenReferenceNewElementSpec">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
<newElementInitializers>
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.34">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.34">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <elementClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Interval"/>
+ <elementClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Interval"/>
</newElementInitializers>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels visualID="5036" editPartClassName="IntervalConstraintAsLocalPrecondNameEditPart" itemSemanticEditPolicyClassName="IntervalConstraintAsLocalPrecondNameItemSemanticEditPolicy" notationViewFactoryClassName="IntervalConstraintNameViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getNameLabel" figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" parser="/0/@labelParsers/@implementations.0" viewPattern="" editorPattern="" editPattern="">
- <metaFeatures href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <labels
+ visualID="5036"
+ editPartClassName="IntervalConstraintAsLocalPrecondNameEditPart"
+ itemSemanticEditPolicyClassName="IntervalConstraintAsLocalPrecondNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="IntervalConstraintNameViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getNameLabel"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.0"
+ viewPattern=""
+ editorPattern=""
+ editPattern="">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</modelFacet>
</labels>
- <labels visualID="5134" editPartClassName="IntervalConstraintAsLocalPrecondBodyEditPart" itemSemanticEditPolicyClassName="IntervalConstraintAsLocalPrecondBodyItemSemanticEditPolicy" notationViewFactoryClassName="IntervalConstraintSpecificationViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getConstraintFigure" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
- <modelFacet parser="/0/@labelParsers/@implementations.22"/>
+ <labels
+ visualID="5134"
+ editPartClassName="IntervalConstraintAsLocalPrecondBodyEditPart"
+ itemSemanticEditPolicyClassName="IntervalConstraintAsLocalPrecondBodyItemSemanticEditPolicy"
+ notationViewFactoryClassName="IntervalConstraintSpecificationViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getConstraintFigure"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.22"/>
</labels>
</childNodes>
- <childNodes visualID="3033" editPartClassName="IntervalConstraintAsLocalPostcondEditPart" itemSemanticEditPolicyClassName="IntervalConstraintAsLocalPostcondItemSemanticEditPolicy" notationViewFactoryClassName="IntervalConstraintViewFactory" canonicalEditPolicyClassName="IntervalConstraintAsLocalPostcondCanonicalEditPolicy" graphicalNodeEditPolicyClassName="IntervalConstraintAsLocalPostcondGraphicalNodeEditPolicy" createCommandClassName="IntervalConstraintAsLocalPostcondCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.IntervalConstraint_3033" displayName="IntervalConstraint">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.135/@elementType"/>
+ <childNodes
+ visualID="3033"
+ editPartClassName="IntervalConstraintAsLocalPostcondEditPart"
+ itemSemanticEditPolicyClassName="IntervalConstraintAsLocalPostcondItemSemanticEditPolicy"
+ notationViewFactoryClassName="IntervalConstraintViewFactory"
+ canonicalEditPolicyClassName="IntervalConstraintAsLocalPostcondCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="IntervalConstraintAsLocalPostcondGraphicalNodeEditPolicy"
+ createCommandClassName="IntervalConstraintAsLocalPostcondCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.IntervalConstraint_3033"
+ displayName="IntervalConstraint">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.135/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPostconditionConstraintFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.11">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/IntervalConstraint"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.35">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPostconditionConstraintFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.11">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/IntervalConstraint"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.35">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <initializers xsi:type="gmfgen:GenReferenceNewElementSpec">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
+ <initializers
+ xsi:type="gmfgen:GenReferenceNewElementSpec">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
<newElementInitializers>
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.36">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.36">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <elementClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Interval"/>
+ <elementClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Interval"/>
</newElementInitializers>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels visualID="5037" editPartClassName="IntervalConstraintAsLocalPostcondNameEditPart" itemSemanticEditPolicyClassName="IntervalConstraintAsLocalPostcondNameItemSemanticEditPolicy" notationViewFactoryClassName="IntervalConstraintNameViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getNameLabel" figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" parser="/0/@labelParsers/@implementations.0" viewPattern="" editorPattern="" editPattern="">
- <metaFeatures href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <labels
+ visualID="5037"
+ editPartClassName="IntervalConstraintAsLocalPostcondNameEditPart"
+ itemSemanticEditPolicyClassName="IntervalConstraintAsLocalPostcondNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="IntervalConstraintNameViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getNameLabel"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.0"
+ viewPattern=""
+ editorPattern=""
+ editPattern="">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</modelFacet>
</labels>
- <labels visualID="5135" editPartClassName="IntervalConstraintAsLocalPostcondBodyEditPart" itemSemanticEditPolicyClassName="IntervalConstraintAsLocalPostcondBodyItemSemanticEditPolicy" notationViewFactoryClassName="IntervalConstraintSpecificationViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getConstraintFigure" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
- <modelFacet parser="/0/@labelParsers/@implementations.22"/>
+ <labels
+ visualID="5135"
+ editPartClassName="IntervalConstraintAsLocalPostcondBodyEditPart"
+ itemSemanticEditPolicyClassName="IntervalConstraintAsLocalPostcondBodyItemSemanticEditPolicy"
+ notationViewFactoryClassName="IntervalConstraintSpecificationViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getConstraintFigure"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.22"/>
</labels>
</childNodes>
- <childNodes visualID="3011" editPartClassName="ConstraintAsLocalPrecondEditPart" itemSemanticEditPolicyClassName="ConstraintAsLocalPrecondItemSemanticEditPolicy" notationViewFactoryClassName="ConstraintViewFactory" canonicalEditPolicyClassName="ConstraintAsLocalPrecondCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ConstraintAsLocalPrecondGraphicalNodeEditPolicy" createCommandClassName="ConstraintAsLocalPrecondCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.0/@elementType"/>
+ <childNodes
+ visualID="3011"
+ editPartClassName="ConstraintAsLocalPrecondEditPart"
+ itemSemanticEditPolicyClassName="ConstraintAsLocalPrecondItemSemanticEditPolicy"
+ notationViewFactoryClassName="ConstraintViewFactory"
+ canonicalEditPolicyClassName="ConstraintAsLocalPrecondCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ConstraintAsLocalPrecondGraphicalNodeEditPolicy"
+ createCommandClassName="ConstraintAsLocalPrecondCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.0/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPreconditionConstraintFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.12">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.37">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPreconditionConstraintFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.12">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPrecondition"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.37">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <initializers xsi:type="gmfgen:GenReferenceNewElementSpec">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
+ <initializers
+ xsi:type="gmfgen:GenReferenceNewElementSpec">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
<newElementInitializers>
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.38">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.38">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <elementClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueExpression"/>
+ <elementClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueExpression"/>
</newElementInitializers>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels visualID="5007" editPartClassName="ConstraintAsLocalPrecondNameEditPart" itemSemanticEditPolicyClassName="ConstraintAsLocalPrecondNameItemSemanticEditPolicy" notationViewFactoryClassName="ConstraintNameViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getNameLabel" figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" parser="/0/@labelParsers/@implementations.0" viewPattern="" editorPattern="" editPattern="">
- <metaFeatures href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <labels
+ visualID="5007"
+ editPartClassName="ConstraintAsLocalPrecondNameEditPart"
+ itemSemanticEditPolicyClassName="ConstraintAsLocalPrecondNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="ConstraintNameViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getNameLabel"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.0"
+ viewPattern=""
+ editorPattern=""
+ editPattern="">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</modelFacet>
</labels>
- <labels visualID="5136" editPartClassName="ConstraintAsLocalPrecondBodyEditPart" itemSemanticEditPolicyClassName="ConstraintAsLocalPrecondBodyItemSemanticEditPolicy" notationViewFactoryClassName="ConstraintSpecificationViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getConstraintFigure" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
- <modelFacet parser="/0/@labelParsers/@implementations.22"/>
+ <labels
+ visualID="5136"
+ editPartClassName="ConstraintAsLocalPrecondBodyEditPart"
+ itemSemanticEditPolicyClassName="ConstraintAsLocalPrecondBodyItemSemanticEditPolicy"
+ notationViewFactoryClassName="ConstraintSpecificationViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getConstraintFigure"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.22"/>
</labels>
</childNodes>
- <childNodes visualID="3012" editPartClassName="ConstraintAsLocalPostcondEditPart" itemSemanticEditPolicyClassName="ConstraintAsLocalPostcondItemSemanticEditPolicy" notationViewFactoryClassName="ConstraintViewFactory" canonicalEditPolicyClassName="ConstraintAsLocalPostcondCanonicalEditPolicy" graphicalNodeEditPolicyClassName="ConstraintAsLocalPostcondGraphicalNodeEditPolicy" createCommandClassName="ConstraintAsLocalPostcondCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.0/@elementType"/>
+ <childNodes
+ visualID="3012"
+ editPartClassName="ConstraintAsLocalPostcondEditPart"
+ itemSemanticEditPolicyClassName="ConstraintAsLocalPostcondItemSemanticEditPolicy"
+ notationViewFactoryClassName="ConstraintViewFactory"
+ canonicalEditPolicyClassName="ConstraintAsLocalPostcondCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="ConstraintAsLocalPostcondGraphicalNodeEditPolicy"
+ createCommandClassName="ConstraintAsLocalPostcondCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.0/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPostconditionConstraintFigure"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
- <modelFacet modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.13">
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.39">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.figures.LocalPostconditionConstraintFigure"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <modelFacet
+ modelElementSelector="/0/@expressionProviders/@providers.1/@expressions.13">
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Action/localPostcondition"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.39">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <initializers xsi:type="gmfgen:GenReferenceNewElementSpec">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
+ <initializers
+ xsi:type="gmfgen:GenReferenceNewElementSpec">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
<newElementInitializers>
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.40">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.40">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
- <elementClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueExpression"/>
+ <elementClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/OpaqueExpression"/>
</newElementInitializers>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels visualID="5008" editPartClassName="ConstraintAsLocalPostcondNameEditPart" itemSemanticEditPolicyClassName="ConstraintAsLocalPostcondNameItemSemanticEditPolicy" notationViewFactoryClassName="ConstraintNameViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getNameLabel" figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
- <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" parser="/0/@labelParsers/@implementations.0" viewPattern="" editorPattern="" editPattern="">
- <metaFeatures href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <labels
+ visualID="5008"
+ editPartClassName="ConstraintAsLocalPostcondNameEditPart"
+ itemSemanticEditPolicyClassName="ConstraintAsLocalPostcondNameItemSemanticEditPolicy"
+ notationViewFactoryClassName="ConstraintNameViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getNameLabel"
+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
+ <modelFacet
+ xsi:type="gmfgen:FeatureLabelModelFacet"
+ parser="/0/@labelParsers/@implementations.0"
+ viewPattern=""
+ editorPattern=""
+ editPattern="">
+ <metaFeatures
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</modelFacet>
</labels>
- <labels visualID="5137" editPartClassName="ConstraintAsLocalPostcondBodyEditPart" itemSemanticEditPolicyClassName="ConstraintAsLocalPostcondBodyItemSemanticEditPolicy" notationViewFactoryClassName="ConstraintSpecificationViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:ParentAssignedViewmap" getterName="getConstraintFigure" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
- <modelFacet parser="/0/@labelParsers/@implementations.22"/>
+ <labels
+ visualID="5137"
+ editPartClassName="ConstraintAsLocalPostcondBodyEditPart"
+ itemSemanticEditPolicyClassName="ConstraintAsLocalPostcondBodyItemSemanticEditPolicy"
+ notationViewFactoryClassName="ConstraintSpecificationViewFactory">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <viewmap
+ xsi:type="gmfgen:ParentAssignedViewmap"
+ getterName="getConstraintFigure"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.ConstraintFigure"/>
+ <modelFacet
+ parser="/0/@labelParsers/@implementations.22"/>
</labels>
</childNodes>
- <childNodes visualID="3038" editPartClassName="DecisionNodeEditPart" itemSemanticEditPolicyClassName="DecisionNodeItemSemanticEditPolicy" notationViewFactoryClassName="DecisionNodeViewFactory" canonicalEditPolicyClassName="DecisionNodeCanonicalEditPolicy" graphicalNodeEditPolicyClassName="DecisionNodeGraphicalNodeEditPolicy" createCommandClassName="DecisionNodeCreateCommand" containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType xsi:type="gmfgen:SpecializationType" uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.DecisionNode_3038" displayName="DecisionNode">
- <metamodelType href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.124/@elementType"/>
+ <childNodes
+ visualID="3038"
+ editPartClassName="DecisionNodeEditPart"
+ itemSemanticEditPolicyClassName="DecisionNodeItemSemanticEditPolicy"
+ notationViewFactoryClassName="DecisionNodeViewFactory"
+ canonicalEditPolicyClassName="DecisionNodeCanonicalEditPolicy"
+ graphicalNodeEditPolicyClassName="DecisionNodeGraphicalNodeEditPolicy"
+ createCommandClassName="DecisionNodeCreateCommand"
+ containers="/0/@diagram/@compartments.3 /0/@diagram/@compartments.14 /0/@diagram/@compartments.4 /0/@diagram/@compartments.5 /0/@diagram/@compartments.6 /0/@diagram/@compartments.7 /0/@diagram/@compartments.8 /0/@diagram/@compartments.9 /0/@diagram/@compartments.10">
+ <diagramRunTimeClass
+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
+ <elementType
+ xsi:type="gmfgen:SpecializationType"
+ uniqueIdentifier="org.eclipse.papyrus.uml.diagram.activity.DecisionNode_3038"
+ displayName="DecisionNode">
+ <metamodelType
+ href="../../org.eclipse.papyrus.uml.diagram.common/model/GenericUML.gmfgen#//@diagram/@topLevelNodes.124/@elementType"/>
</elementType>
- <viewmap xsi:type="gmfgen:FigureViewmap" figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.DiamondNode"/>
- <behaviour xsi:type="gmfgen:OpenDiagramBehaviour"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
+ <viewmap
+ xsi:type="gmfgen:FigureViewmap"
+ figureQualifiedClassName="org.eclipse.papyrus.uml.diagram.common.figure.node.DiamondNode"/>
+ <behaviour
+ xsi:type="gmfgen:OpenDiagramBehaviour"/>
+ <behaviour
+ xsi:type="gmfgen:CustomBehaviour"
+ key="org.eclipse.papyrus.uml.diagram.common.editpolicies.ChangeStereotypedShapeEditPolicy.CHANGE_SHAPE_POLICY"
+ editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.ActivityDiagramChangeStereotypedShapeEditpolicy"/>
<modelFacet>
- <metaClass href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
- <containmentMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <childMetaFeature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
- <modelElementInitializer xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers xsi:type="gmfgen:GenFeatureValueSpec" value="/0/@expressionProviders/@providers.0/@expressions.41">
- <feature href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
+ <metaClass
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/DecisionNode"/>
+ <containmentMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <childMetaFeature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Activity/ownedNode"/>
+ <modelElementInitializer
+ xsi:type="gmfgen:GenFeatureSeqInitializer">
+ <initializers
+ xsi:type="gmfgen:GenFeatureValueSpec"
+ value="/0/@expressionProviders/@providers.0/@expressions.41">
+ <feature
+ href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
</initializers>
</modelElementInitializer>
</modelFacet>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5043" editPartClassName="DecisionInputEditPart" itemSemanticEditPolicyClassName="DecisionInputItemSemanticEditPolicy" notationViewFactoryClassName="DecisionNodeLabelViewFactory">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LinkAndCornerBentWithTextFigure" classBody="&#xD;&#xA;/**&#xD;&#xA; * @generated&#xD;&#xA; */&#xD;&#xA;public class LinkAndCornerBentWithTextFigure extends org.eclipse.papyrus.uml.diagram.common.figure.node.CornerBentFigure {&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private org.eclipse.papyrus.uml.diagram.activity.figures.WrappedLabel fCornerBentContent; &#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private org.eclipse.draw2d.PolylineShape fLinkToBehaviorProperty; &#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public LinkAndCornerBentWithTextFigure() {&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#xD;&#xA;&#xD;&#xA;&#x9;this.setBackgroundColor(THIS_BACK&#xD;&#xA;);&#xD;&#xA;&#x9;&#x9;createContents();&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private void createContents(){&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;fCornerBentContent = new org.eclipse.papyrus.uml.diagram.activity.figures.WrappedLabel();&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;this.add(fCornerBentContent);&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;fLinkToBehaviorProperty = new org.eclipse.draw2d.PolylineShape();&#xD;&#xA;fLinkToBehaviorProperty.setLineStyle(org.eclipse.draw2d.Graphics.LINE_DASH);&#xD;&#xA;&#xD;&#xA;this.add(fLinkToBehaviorProperty);&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public org.eclipse.papyrus.uml.diagram.activity.figures.WrappedLabel getCornerBentContent() {&#xD;&#xA;&#x9;&#x9;return fCornerBentContent;&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public org.eclipse.draw2d.PolylineShape getLinkToBehaviorProperty() {&#xD;&#xA;&#x9;&#x9;return fLinkToBehaviorProperty;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;}&#xD;&#xA;&#xD;&#xA;/**&#xD;&#xA; * @generated&#xD;&#xA; */&#xD;&#xA;static final org.eclipse.swt.graphics.Color THIS_BACK = new org.eclipse.swt.graphics.Color(null, 248, 249, 214);&#xD;&#xA;&#xD;&#xA;"/>
- <behaviour xsi:type="gmfgen:CustomBehaviour" key="EditPolicy.PRIMARY_DRAG_ROLE" editPolicyQualifiedClassName="org.eclipse.papyrus.uml.diagram.activity.edit.policies.BehaviorPropertyNodeEditPolicy"/>
- <modelFacet parser="/0/@labelParsers/@implementations.10"/>
- </labels>
- <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="5098" editPartClassName="DecisionNodeAppliedStereotypeEditPart" itemSemanticEditPolicyClassName="DecisionNodeAppliedStereotypeItemSemanticEditPolicy" notationViewFactoryClassName="DecisionNodeLabelViewFactory" readOnly="true" elementIcon="true">
- <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/