comparison org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/provisional/viewers/IParentProvider.d @ 78:0a55d2d5a946

Added file for databinding
author Frank Benoit <benoit@tionex.de>
date Tue, 14 Apr 2009 11:35:29 +0200
parents
children
comparison
equal deleted inserted replaced
76:f05e6e8b2f2d 78:0a55d2d5a946
1 /*******************************************************************************
2 * Copyright (c) 2006, 2008 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 * Stefan Xenos, IBM - initial API and implementation
11 * Matthew Hall - bug 207858
12 *******************************************************************************/
13 module org.eclipse.jface.internal.databinding.provisional.viewers.IParentProvider;
14
15 import java.lang.all;
16
17 /**
18 * NON-API - Returns the parent of elements in a tree.
19 *
20 * @since 1.1
21 */
22 public interface IParentProvider {
23
24 /**
25 * Returns the parent of the passed in child element, or null if unknown.
26 *
27 * @param child
28 * the child element
29 * @return the parent of the passed in child element, or null if unknown.
30 */
31 public Object getParent(Object child);
32 }