blob: 520f966ef4f5e989bb12345d487003c4134f79d5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 Oracle.
* 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:
* Oracle - initial API and implementation
*******************************************************************************/
package org.eclipse.jpt.ui.internal.jface;
/**
* Interface used in conjunction with DelegatingTreeContentProvider to return
* tree information for a particular item.
* @see DelegatingTreeContentProvider
* @see ITreeItemContentProviderFactory
*/
public interface ITreeItemContentProvider extends IItemContentProvider
{
/**
* Return the parent of the represented item
*/
Object getParent();
/**
* Return whether the represented item has children
*/
boolean hasChildren();
/**
* Return the children of the represented item
*/
Object[] getChildren();
}