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 * Stefan Xenos, IBM - initial API and implementation 11 *******************************************************************************/ 12 package org.eclipse.jface.internal.databinding.provisional.viewers; 13 14 /** 15 * NON-API - Returns the parent of elements in a tree. 16 * 17 * @since 1.1 18 */ 19 public interface IParentProvider { 20 21 /** 22 * TODO: comment me 23 * 24 * @param child 25 * @return TODO: comment 26 */ 27 public Object getParent(Object child); 28 } 29