Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaafar Bouayad2016-09-01 09:31:17 +0000
committerBenoit Maggi2016-09-20 14:13:00 +0000
commitad93f22186778c1ef93cc178025263db4dc99d5e (patch)
tree21531538927d91cf123fa97d8e839863d77dd446
parent05db9bfa77acf4336bba8c347cf57e79367bf8d7 (diff)
downloadorg.eclipse.papyrus-ad93f22186778c1ef93cc178025263db4dc99d5e.tar.gz
org.eclipse.papyrus-ad93f22186778c1ef93cc178025263db4dc99d5e.tar.xz
org.eclipse.papyrus-ad93f22186778c1ef93cc178025263db4dc99d5e.zip
Bug 487427 - [SysML 1.1][IBD] References are no longer displayed with dash border line in an IBD
https://bugs.eclipse.org/bugs/show_bug.cgi?id=487427 - set border style instead of line style in a BlockPropertyCompositeEditPart Signed-off-by: Jaafar Bouayad <jaafar.bouayad@atos.net>
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/edit/part/BlockPropertyCompositeEditPart.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/edit/part/BlockPropertyCompositeEditPart.java b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/edit/part/BlockPropertyCompositeEditPart.java
index 27e22dfc9e3..55524864cc9 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/edit/part/BlockPropertyCompositeEditPart.java
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/edit/part/BlockPropertyCompositeEditPart.java
@@ -243,7 +243,7 @@ public class BlockPropertyCompositeEditPart extends AbstractElementEditPart {
super.refreshVisuals();
String tag = "property";
- int lineStyle = Graphics.LINE_SOLID;
+ int borderStyle = Graphics.LINE_SOLID;
if (resolveSemanticElement() != null) {
EObject eObject = resolveSemanticElement();
@@ -252,7 +252,7 @@ public class BlockPropertyCompositeEditPart extends AbstractElementEditPart {
} else if (((ISpecializationType) SysMLElementTypes.REFERENCE_PROPERTY).getMatcher().matches(eObject)) {
tag = "reference";
- lineStyle = Graphics.LINE_CUSTOM;
+ borderStyle = Graphics.LINE_CUSTOM;
} else if (((ISpecializationType) SysMLElementTypes.ACTOR_PART_PROPERTY).getMatcher().matches(eObject)) {
tag = "actor part";
@@ -266,6 +266,6 @@ public class BlockPropertyCompositeEditPart extends AbstractElementEditPart {
}
getPrimaryShape().setFigureTag(tag);
- getPrimaryShape().setLineStyle(lineStyle);
+ getPrimaryShape().setBorderStyle(borderStyle);
}
}

Back to the top