Class AbstractTabDescriptor
- java.lang.Object
-
- org.eclipse.ui.views.properties.tabbed.AbstractTabDescriptor
-
- All Implemented Interfaces:
Cloneable,ITabDescriptor,ITabItem
public abstract class AbstractTabDescriptor extends Object implements ITabDescriptor, Cloneable
An abstract implementation of a tab descriptor for the tabbed property view.- Since:
- 3.4
-
-
Field Summary
-
Fields inherited from interface org.eclipse.ui.views.properties.tabbed.ITabDescriptor
TOP
-
-
Constructor Summary
Constructors Constructor Description AbstractTabDescriptor()Constructor for AbstractTabDescriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()TabContentscreateTab()Instantiate this tab's sections.booleanequals(Object object)StringgetAfterTab()Get the identifier of the tab after which this tab should be displayed.ImagegetImage()Get the icon image for the tab.ListgetSectionDescriptors()Get the list of section descriptors for the tab.StringgetText()Get the text label for the tab.inthashCode()booleanisIndented()Determine if this tab is indented.booleanisSelected()Determine if this tab is selected.voidsetSectionDescriptors(List sectionDescriptors)Set the list of section descriptors for the tab.-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.ui.views.properties.tabbed.ITabDescriptor
getCategory, getId, getLabel
-
-
-
-
Method Detail
-
createTab
public TabContents createTab()
Description copied from interface:ITabDescriptorInstantiate this tab's sections.- Specified by:
createTabin interfaceITabDescriptor- Returns:
- The tab contents for this section.
-
getAfterTab
public String getAfterTab()
Description copied from interface:ITabDescriptorGet the identifier of the tab after which this tab should be displayed. When two or more tabs belong to the same category, they are sorted by the after tab values.- Specified by:
getAfterTabin interfaceITabDescriptor- Returns:
- the identifier of the tab.
-
getImage
public Image getImage()
Description copied from interface:ITabItemGet the icon image for the tab.
-
getSectionDescriptors
public List getSectionDescriptors()
Get the list of section descriptors for the tab.- Specified by:
getSectionDescriptorsin interfaceITabDescriptor- Returns:
- the list of section descriptors for the tab.
-
getText
public String getText()
Description copied from interface:ITabItemGet the text label for the tab.
-
isIndented
public boolean isIndented()
Description copied from interface:ITabItemDetermine if this tab is indented.- Specified by:
isIndentedin interfaceITabItem- Returns:
trueif this tab is indented.
-
isSelected
public boolean isSelected()
Description copied from interface:ITabItemDetermine if this tab is selected.- Specified by:
isSelectedin interfaceITabItem- Returns:
trueif this tab is selected.
-
setSectionDescriptors
public void setSectionDescriptors(List sectionDescriptors)
Set the list of section descriptors for the tab.- Parameters:
sectionDescriptors- the list of section descriptors for the tab.
-
-