]> gerrit.simantics Code Review - simantics/interop.git/commitdiff
fixes #5473
authorluukkainen <luukkainen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Wed, 12 Nov 2014 08:38:14 +0000 (08:38 +0000)
committerMarko Luukkainen <marko.luukkainen@vtt.fi>
Thu, 2 Feb 2017 12:01:33 +0000 (14:01 +0200)
git-svn-id: https://www.simantics.org/svn/simantics/interoperability/trunk@30540 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.interop/src/org/simantics/interop/browsing/INodeEvaluators.java

index e5a7abe733de17c4cc2746251ad77c3a0af1dd88..cbd6900526ad2a2ad9a64837a61f25908b87f2df 100644 (file)
@@ -50,8 +50,11 @@ public class INodeEvaluators {
 \r
 abstract class BaseViewpointFactory implements ViewpointFactory {\r
     protected abstract class VPB extends LazyViewpoint implements Callable<Boolean>, IChildrenCallback {\r
-        public VPB(PrimitiveQueryUpdater updater, NodeContext context, ViewpointKey key) {\r
+       PrimitiveQueryUpdater updater;\r
+       \r
+       public VPB(PrimitiveQueryUpdater updater, NodeContext context, ViewpointKey key) {\r
             super(updater, context, key);\r
+            this.updater = updater;\r
         }\r
 \r
         @Override\r
@@ -78,7 +81,7 @@ abstract class BaseViewpointFactory implements ViewpointFactory {
         public void refreshChildren(Collection<?> newChildren) {\r
             NodeContext[] ncs = toContextsWithInput(newChildren);\r
             setHasChildren(ncs.length > 0);\r
-            setChildren(ncs);\r
+            setChildren(updater,ncs);\r
             updater.scheduleReplace(context, key, this);\r
         }\r
 \r