01: /*******************************************************************************
02: * Copyright (c) 2007 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.views.properties.tabbed;
11:
12: import org.eclipse.jface.viewers.ISelection;
13: import org.eclipse.ui.IWorkbenchPart;
14:
15: /**
16: * Represents a tab descriptor provider for the tabbed property view.
17: *
18: * @author Anthony Hunter
19: * @since 3.4
20: */
21: public interface ITabDescriptorProvider {
22:
23: /**
24: * Returns all tab descriptors.
25: *
26: * @param part
27: * the workbench part containing the selection
28: * @param selection
29: * the current selection.
30: * @return all section descriptors.
31: */
32: public ITabDescriptor[] getTabDescriptors(IWorkbenchPart part,
33: ISelection selection);
34: }
|