Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Tessier2016-10-05 11:02:42 -0400
committerBenoit Maggi2016-10-05 12:23:29 -0400
commitc90b7f35348e7567133c1d67ab16e4913624d7dc (patch)
tree52501c3a24733af62f838a3f77351a2a99e65238 /plugins
parent36a73668e86a37ccd50f8f49c8e7ad089b23d28d (diff)
downloadorg.eclipse.papyrus-c90b7f35348e7567133c1d67ab16e4913624d7dc.tar.gz
org.eclipse.papyrus-c90b7f35348e7567133c1d67ab16e4913624d7dc.tar.xz
org.eclipse.papyrus-c90b7f35348e7567133c1d67ab16e4913624d7dc.zip
Bug 502162: [SysML 1.4] [BDD] Problems when creating constraints in
constraintBlocks https://bugs.eclipse.org/bugs/show_bug.cgi?id=502162 Change-Id: Ibb41ce1be33a1b4594e148a4b8bb16df0354b69b Signed-off-by: Patrick Tessier <Patrick.Tessier@cea.fr>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/EditableLabelForNodeEditPart.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/EditableLabelForNodeEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/EditableLabelForNodeEditPart.java
index 46c7acf6c95..412a41e1c12 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/EditableLabelForNodeEditPart.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/EditableLabelForNodeEditPart.java
@@ -739,4 +739,9 @@ public class EditableLabelForNodeEditPart extends PapyrusCompartmentEditPart imp
removeListenerFilter(ADD_PARENT_MODEL);
}
+
+ @Override
+ public boolean isSelectable() {
+ return getFigure().isShowing();
+ }
}

Back to the top