Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGéry Deloge2016-05-24 12:58:54 +0000
committerGerrit Code Review @ Eclipse.org2016-05-24 13:42:24 +0000
commit94591b50de7bec30cf9d46fe4fc608d6604acd26 (patch)
tree95622ce40e36f56f09f46982ad1424a39d4befd4 /plugins/uml
parent47d960c02fbe6f6236b2dc25ecfefbce5573b53a (diff)
downloadorg.eclipse.papyrus-94591b50de7bec30cf9d46fe4fc608d6604acd26.tar.gz
org.eclipse.papyrus-94591b50de7bec30cf9d46fe4fc608d6604acd26.tar.xz
org.eclipse.papyrus-94591b50de7bec30cf9d46fe4fc608d6604acd26.zip
Bug 489998: [Activity Diagram] Difficult to position ActivityParameterNode
Change-Id: I75d731f13de36c30c587d5447e0e48e4acef7f5f Signed-off-by: Géry Deloge <gery.deloge@cea.fr>
Diffstat (limited to 'plugins/uml')
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/locator/PortPositionLocator.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/locator/PortPositionLocator.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/locator/PortPositionLocator.java
index 6c36aebb84e..556014f326f 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/locator/PortPositionLocator.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/locator/PortPositionLocator.java
@@ -429,6 +429,7 @@ public class PortPositionLocator implements IBorderItemLocator {
Rectangle rect = new Rectangle(validLocation, target.getPreferredSize());
target.setBounds(rect);
+ setConstraint(rect);
// Refresh nodeShape bounds in case of resize
RoundedRectangleNodePlateFigure nodePlateFigure = FigureUtils.findChildFigureInstance(figure, RoundedRectangleNodePlateFigure.class);

Back to the top