Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael ADAM2017-09-13 09:39:11 +0000
committerPatrick Tessier2017-09-25 14:25:27 +0000
commit8c13243f02fe2048026380ce9812664495333d0d (patch)
tree2c54f282ff43dd81a4d66e96fda8c6e2adb7e051 /plugins/uml/diagram
parentc250595f4b010a0dd5e64f4f20613005610e73c6 (diff)
downloadorg.eclipse.papyrus-8c13243f02fe2048026380ce9812664495333d0d.tar.gz
org.eclipse.papyrus-8c13243f02fe2048026380ce9812664495333d0d.tar.xz
org.eclipse.papyrus-8c13243f02fe2048026380ce9812664495333d0d.zip
Bug 522228 - [Sequence Diagram] Lifeline should be resizable
https://bugs.eclipse.org/bugs/show_bug.cgi?id=522228 - add a handle to resize at the bottom of the lifeline Change-Id: If29ea2118b87cfc1121c54bf60d142c1e1264945 Signed-off-by: Mickael ADAM <mickael.adam@all4tec.net>
Diffstat (limited to 'plugins/uml/diagram')
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence/custom-src/org/eclipse/papyrus/uml/diagram/sequence/edit/policies/LifelineSelectionEditPolicy.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence/custom-src/org/eclipse/papyrus/uml/diagram/sequence/edit/policies/LifelineSelectionEditPolicy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence/custom-src/org/eclipse/papyrus/uml/diagram/sequence/edit/policies/LifelineSelectionEditPolicy.java
index 7e00316ac05..2788ffcb8a4 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence/custom-src/org/eclipse/papyrus/uml/diagram/sequence/edit/policies/LifelineSelectionEditPolicy.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.sequence/custom-src/org/eclipse/papyrus/uml/diagram/sequence/edit/policies/LifelineSelectionEditPolicy.java
@@ -1,3 +1,15 @@
+/*****************************************************************************
+ * Copyright (c) 2010, 2017 CEA List, ALL4TEC and others
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * CEA List - Initial API and implementation
+ * Mickaƫl ADAM (ALL4TEC) mickael.adam@all4tec.net - Bug 522228
+ *****************************************************************************/
package org.eclipse.papyrus.uml.diagram.sequence.edit.policies;
import java.util.ArrayList;
@@ -62,6 +74,7 @@ public class LifelineSelectionEditPolicy extends PapyrusResizableShapeEditPolicy
final IFigure fig = primaryShape.getFigureLifelineNameContainerFigure();
createResizeHandle(host, list, fig, PositionConstants.WEST);
createResizeHandle(host, list, fig, PositionConstants.EAST);
+ createResizeHandle(host, list, primaryShape, PositionConstants.SOUTH);
return list;
}

Back to the top