From: luukkainen Date: Wed, 12 Nov 2014 08:38:14 +0000 (+0000) Subject: fixes #5473 X-Git-Tag: v1.31.0~66 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=ccadc05a0dc8e53be0eda855110d1906b562466a;p=simantics%2Finterop.git fixes #5473 git-svn-id: https://www.simantics.org/svn/simantics/interoperability/trunk@30540 ac1ea38d-2e2b-0410-8846-a27921b304fc --- 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); }