/*******************************************************************************
* Copyright (c) 2005, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.debug.internal.ui.viewers;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.debug.internal.ui.viewers.provisional.IChildrenRequestMonitor;
/**
* Implementation for IChildrenRequestMonitor. Collects
* children from an asynchronous tree content adapter.
*
* Not intended to be subclassed or instantiated by clients. For use
* speficially with AsynchronousTreeViewer.
*
* @since 3.2
*/
class ChildrenRequestMonitor extends AsynchronousRequestMonitor implements IChildrenRequestMonitor {
private boolean fFirstUpdate = true;
/**
* Collection of children retrieved
*/
private List