\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
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