01: /*******************************************************************************
02: * Copyright (c) 2001, 2006 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.swt.graphics.Image;
13:
14: /**
15: * Represents a tab to be displayed in the tab list in the tabbed property sheet
16: * page.
17: *
18: * @author Anthony Hunter
19: */
20: public interface ITabItem {
21:
22: /**
23: * Get the icon image for the tab.
24: *
25: * @return the icon image for the tab.
26: */
27: public Image getImage();
28:
29: /**
30: * Get the text label for the tab.
31: *
32: * @return the text label for the tab.
33: */
34: public String getText();
35:
36: /**
37: * Determine if this tab is selected.
38: *
39: * @return <code>true</code> if this tab is selected.
40: */
41: public boolean isSelected();
42:
43: /**
44: * Determine if this tab is indented.
45: *
46: * @return <code>true</code> if this tab is indented.
47: */
48: public boolean isIndented();
49: }
|