1 /******************************************************************************* 2 * Copyright (c) 2005, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.debug.internal.ui.viewers.provisional; 12 13 import org.eclipse.debug.internal.ui.viewers.model.provisional.IStatusMonitor; 14 15 /** 16 * A request monitor that collects children from an asynchronous tree content adapter. 17 * <p> 18 * This interface is not intended to be implemented by clients. 19 * </p> 20 * @since 3.2 21 */ 22 public interface IChildrenRequestMonitor extends IStatusMonitor { 23 24 /** 25 * Adds the given child to this request. 26 * 27 * @param child child to add 28 */ 29 public void addChild(Object child); 30 31 /** 32 * Adds the given children to this request. 33 * 34 * @param children children to add 35 */ 36 public void addChildren(Object[] children); 37 } 38