From ccadc05a0dc8e53be0eda855110d1906b562466a Mon Sep 17 00:00:00 2001 From: luukkainen Date: Wed, 12 Nov 2014 08:38:14 +0000 Subject: [PATCH] fixes #5473 git-svn-id: https://www.simantics.org/svn/simantics/interoperability/trunk@30540 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../org/simantics/interop/browsing/INodeEvaluators.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/org.simantics.interop/src/org/simantics/interop/browsing/INodeEvaluators.java b/org.simantics.interop/src/org/simantics/interop/browsing/INodeEvaluators.java index e5a7abe..cbd6900 100644 --- a/org.simantics.interop/src/org/simantics/interop/browsing/INodeEvaluators.java +++ b/org.simantics.interop/src/org/simantics/interop/browsing/INodeEvaluators.java @@ -50,8 +50,11 @@ public class INodeEvaluators { abstract class BaseViewpointFactory implements ViewpointFactory { protected abstract class VPB extends LazyViewpoint implements Callable, IChildrenCallback { - public VPB(PrimitiveQueryUpdater updater, NodeContext context, ViewpointKey key) { + PrimitiveQueryUpdater updater; + + public VPB(PrimitiveQueryUpdater updater, NodeContext context, ViewpointKey key) { super(updater, context, key); + this.updater = updater; } @Override @@ -78,7 +81,7 @@ abstract class BaseViewpointFactory implements ViewpointFactory { public void refreshChildren(Collection newChildren) { NodeContext[] ncs = toContextsWithInput(newChildren); setHasChildren(ncs.length > 0); - setChildren(ncs); + setChildren(updater,ncs); updater.scheduleReplace(context, key, this); } -- 2.47.1