Mercurial > projects > dwt2
view 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 |
line wrap: on
line source
/******************************************************************************* * Copyright (c) 2006, 2008 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 * Stefan Xenos, IBM - initial API and implementation * Matthew Hall - bug 207858 *******************************************************************************/ module org.eclipse.jface.internal.databinding.provisional.viewers.IParentProvider; import java.lang.all; /** * NON-API - Returns the parent of elements in a tree. * * @since 1.1 */ public interface IParentProvider { /** * Returns the parent of the passed in child element, or null if unknown. * * @param child * the child element * @return the parent of the passed in child element, or null if unknown. */ public Object getParent(Object child); }