Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-01-20 04:30:43 -0500
committerHenrik Rentz-Reichert2012-01-20 04:30:43 -0500
commit4d013f71534df9d171091542e329327539d12143 (patch)
treee00552035bc474026ba8b6ae2db38631923e2dee /plugins/org.eclipse.etrice.ui.structure
parentff709343615edbd14ee69e1f220b63f1bdc815be (diff)
downloadorg.eclipse.etrice-4d013f71534df9d171091542e329327539d12143.tar.gz
org.eclipse.etrice-4d013f71534df9d171091542e329327539d12143.tar.xz
org.eclipse.etrice-4d013f71534df9d171091542e329327539d12143.zip
[ui.structure] bug fix in update of ref ports
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, 3 insertions, 2 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 10d3756e8..294ad9bda 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
@@ -386,8 +386,9 @@ public class PortSupport extends InterfaceItemSupport {
// we clear the figure and rebuild it
GraphicsAlgorithm invisibleRect = pe.getGraphicsAlgorithm();
invisibleRect.getGraphicsAlgorithmChildren().clear();
-
- createPortFigure(port, false, container, invisibleRect, dark, bright);
+
+ boolean refport = isRefItem(pe);
+ createPortFigure(port, refport, container, invisibleRect, dark, bright);
GraphicsAlgorithm ga = container.getChildren().get(0).getGraphicsAlgorithm();
if (ga instanceof Text) {

Back to the top