org.eclipse.emf.edit.provider.ITreeItemContentProvider Maven / Gradle / Ivy
/**
* Copyright (c) 2002-2006 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 - Initial API and implementation
*/
package org.eclipse.emf.edit.provider;
import java.util.Collection;
/**
* This is the interface needed to populate subtrees in a TreeViewer.
*/
public interface ITreeItemContentProvider extends IStructuredItemContentProvider
{
/**
* This does the same thing as ITreeContentProvider.getChildren.
*/
public Collection> getChildren(Object object);
/**
* This does the same thing as ITreeContentProvider.hasChildren.
*/
public boolean hasChildren(Object object);
/**
* This does the same thing as ITreeContentProvider.getParent.
*/
public Object getParent(Object object);
}