Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2011-10-17 06:22:21 -0400
committerHenrik Rentz-Reichert2011-10-17 06:22:21 -0400
commit69a84cfc95924f88fb3da7498d8f79fc9b9d0468 (patch)
tree3985aec2b25bbc757b6e79219145bc77fbcdb761 /plugins/org.eclipse.etrice.ui.structure
parent6af5c7f18c078e42157f7d4db685f09e94208d7d (diff)
downloadorg.eclipse.etrice-69a84cfc95924f88fb3da7498d8f79fc9b9d0468.tar.gz
org.eclipse.etrice-69a84cfc95924f88fb3da7498d8f79fc9b9d0468.tar.xz
org.eclipse.etrice-69a84cfc95924f88fb3da7498d8f79fc9b9d0468.zip
[ui.structure] adjusted relay port figure to the ROOM specification
Diffstat (limited to 'plugins/org.eclipse.etrice.ui.structure')
-rw-r--r--plugins/org.eclipse.etrice.ui.structure/src/org/eclipse/etrice/ui/structure/support/PortSupport.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.etrice.ui.structure/src/org/eclipse/etrice/ui/structure/support/PortSupport.java b/plugins/org.eclipse.etrice.ui.structure/src/org/eclipse/etrice/ui/structure/support/PortSupport.java
index fb3a52dcc..ea970a1bf 100644
--- a/plugins/org.eclipse.etrice.ui.structure/src/org/eclipse/etrice/ui/structure/support/PortSupport.java
+++ b/plugins/org.eclipse.etrice.ui.structure/src/org/eclipse/etrice/ui/structure/support/PortSupport.java
@@ -299,7 +299,10 @@ public class PortSupport extends InterfaceItemSupport {
Rectangle rect = gaService.createRectangle(invisibleRectangle);
rect.setForeground(darkColor);
rect.setBackground(bg);
- rect.setLineWidth(line);
+ if (!refport && relay && !port.isConjugated())
+ rect.setLineWidth(4*line);
+ else
+ rect.setLineWidth(line);
gaService.setLocationAndSize(rect, size/2, size/2, size, size);
if (containerShape.getAnchors().isEmpty()) {

Back to the top