blob: 3583d4ee58b423532825583ad06d8e35e80bede6 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 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
*******************************************************************************/
package org.eclipse.ui.views.properties.tabbed;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IWorkbenchPart;
/**
* Represents a tab descriptor provider for the tabbed property view.
*
* @author Anthony Hunter
* @since 3.4
*/
public interface ITabDescriptorProvider {
/**
* Returns all tab descriptors.
*
* @param part
* the workbench part containing the selection
* @param selection
* the current selection.
* @return all section descriptors.
*/
public ITabDescriptor[] getTabDescriptors(IWorkbenchPart part,
ISelection selection);
}