From edb83d2e4faebbb794f4edd95806bc65b3d33c2e Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Mon, 30 Jul 2018 11:18:24 +0300 Subject: [PATCH] Make transformChanged and dropQuality abstract in NavigationNode gitlab #63 Change-Id: Iac86a4a40292597408a78903a372ee779c93b111 --- .../org/simantics/scenegraph/g2d/nodes/NavigationNode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.47.1