1 /******************************************************************************* 2 * Copyright (c) 2001, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.ui.views.properties.tabbed; 12 13 import org.eclipse.swt.graphics.Image; 14 15 /** 16 * Represents a tab to be displayed in the tab list in the tabbed property sheet 17 * page. 18 * 19 * @author Anthony Hunter 20 */ 21 public interface ITabItem { 22 23 /** 24 * Get the icon image for the tab. 25 * 26 * @return the icon image for the tab. 27 */ 28 public Image getImage(); 29 30 /** 31 * Get the text label for the tab. 32 * 33 * @return the text label for the tab. 34 */ 35 public String getText(); 36 37 /** 38 * Determine if this tab is selected. 39 * 40 * @return <code>true</code> if this tab is selected. 41 */ 42 public boolean isSelected(); 43 44 /** 45 * Determine if this tab is indented. 46 * 47 * @return <code>true</code> if this tab is indented. 48 */ 49 public boolean isIndented(); 50 } 51