KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > internal > databinding > observable > tree > IUnorderedTreeProvider


1 /*******************************************************************************
2  * Copyright (c) 2006, 2007 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
12 package org.eclipse.core.internal.databinding.observable.tree;
13
14 import org.eclipse.core.databinding.observable.Realm;
15 import org.eclipse.core.databinding.observable.set.IObservableSet;
16
17 /**
18  * @since 1.0
19  *
20  */

21 public interface IUnorderedTreeProvider {
22     /**
23      * @return the realm for the createChildSet method
24      */

25     public Realm getRealm();
26     
27     /**
28      * Returns the children of the given element, or null if the element is a leaf node.
29      * The caller of this method is expected to dispose the result set when it is no
30      * longer needed.
31      *
32      * @param element element to query
33      * @return the children of the given element, or null if the element is a leaf node
34      */

35     IObservableSet createChildSet(Object JavaDoc element);
36 }
37
Popular Tags