From: Tuukka Lehtonen Date: Tue, 22 Nov 2016 11:04:13 +0000 (+0200) Subject: Fixed Typical inheritance profile style implementation for I/O tables X-Git-Tag: v1.25.0~39^2 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=b9450ae;p=simantics%2Fplatform.git Fixed Typical inheritance profile style implementation for I/O tables Now all transforms are calculated properly using DiagramGraphUtil.getDynamicWorldTransform in the default case. This fixes the highlights for flags that are attached to a diagram template flag table. refs #6812 --- diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/TypicalInheritanceStyle.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/TypicalInheritanceStyle.java index c0de41267..f7260c039 100644 --- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/TypicalInheritanceStyle.java +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/style/TypicalInheritanceStyle.java @@ -129,7 +129,7 @@ public class TypicalInheritanceStyle extends StyleBase return new TypicalInheritanceResult(templatized, null, worldTransform, hasElementSource, null); } - AffineTransform worldTransform = DiagramGraphUtil.getWorldTransform(graph, element); + AffineTransform worldTransform = DiagramGraphUtil.getDynamicWorldTransform(graph, runtimeDiagram, element); return new TypicalInheritanceResult(templatized, null, worldTransform, hasElementSource, null); }