KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > internal > ui > viewers > model > provisional > IElementContentProvider


1 /*******************************************************************************
2  * Copyright (c) 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.model.provisional;
12
13
14 /**
15  * Provides content for an element in a virtual viewer.
16  *
17  * @since 3.3
18  */

19 public interface IElementContentProvider {
20
21     /**
22      * Updates the number of children for the given parent elements in the
23      * specified requests.
24      *
25      * @param updates each update specifies an element to update and provides
26      * a store for the result
27      */

28     public void update(IChildrenCountUpdate[] updates);
29     
30     /**
31      * Updates children as requested by the given updates.
32      *
33      * @param updates each update specifies children to update and stores results
34      */

35     public void update(IChildrenUpdate[] updates);
36     
37     /**
38      * Updates whether elements have children.
39      *
40      * @param updates each update specifies an element to update and provides
41      * a store for the result
42      */

43     public void update(IHasChildrenUpdate[] updates);
44     
45 }
46
Popular Tags