1 11 package org.eclipse.debug.internal.ui.viewers; 12 13 import org.eclipse.debug.internal.ui.viewers.provisional.IContainerRequestMonitor; 14 15 24 class ContainerRequestMonitor extends AsynchronousRequestMonitor implements IContainerRequestMonitor { 25 26 29 private boolean fIsChildren = false; 30 31 37 ContainerRequestMonitor(ModelNode node, AsynchronousModel model) { 38 super(node, model); 39 } 40 41 44 protected void performUpdate() { 45 ((AsynchronousTreeModel)getModel()).setIsContainer(getNode(), fIsChildren); 46 } 47 48 51 protected boolean contains(AsynchronousRequestMonitor update) { 52 return (update instanceof ChildrenRequestMonitor || update instanceof ContainerRequestMonitor) && contains(update.getNode()); 53 } 54 55 58 public void setIsContainer(boolean container) { 59 fIsChildren = container; 60 } 61 62 } 63 | Popular Tags |