From: jsimomaa Date: Mon, 30 Jul 2018 08:18:24 +0000 (+0300) Subject: Make transformChanged and dropQuality abstract in NavigationNode X-Git-Tag: v1.43.0~136^2~428 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=edb83d2e4faebbb794f4edd95806bc65b3d33c2e;p=simantics%2Fplatform.git Make transformChanged and dropQuality abstract in NavigationNode gitlab #63 Change-Id: Iac86a4a40292597408a78903a372ee779c93b111 --- diff --git a/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/nodes/NavigationNode.java b/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/nodes/NavigationNode.java index b46b4ad61..1f853fa50 100644 --- a/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/nodes/NavigationNode.java +++ b/bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/nodes/NavigationNode.java @@ -278,7 +278,7 @@ public class NavigationNode extends TransformNode implements PropertyChangeListe + ", zoomOutLimit=" + zoomOutLimit + ", adaptViewportToResize=" + adaptViewportToResizedControl + "]"; } - private void transformChanged() { + protected void transformChanged() { if (transformListener != null) { transformListener.transformChanged(transform); } @@ -357,7 +357,7 @@ public class NavigationNode extends TransformNode implements PropertyChangeListe * Utility method for dropping the paint quality and scheduling repaint with good quality. * This can be used to speed up rendering while navigating. */ - private void dropQuality() { + protected void dropQuality() { if (!dynamicQuality) return; //System.out.println("dropQuality: " + qualityPaint); if (pendingTask!=null) {