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: /**
13: * Represents a list of tabs. Used by a section that overrides the tabs that are
14: * provided by the tabbed property registry with a new list of tabs.
15: * <p>
16: * The overridable tab list is a content provider that provides both the
17: * sections and the tab labels.
18: *
19: * @author Anthony Hunter
20: * @since 3.4
21: */
22: public interface IOverridableTabList {
23:
24: /**
25: * Returns the list of tabs.
26: *
27: * @return the list of tabs.
28: */
29: public ITabItem[] getTabs();
30:
31: /**
32: * Select the tab at the provided index.
33: *
34: * @param index
35: * the index in the list of tabs to select.
36: */
37: public void selectTab(int index);
38: }
|