Class AbstractTabDescriptor
java.lang.Object
org.eclipse.ui.views.properties.tabbed.AbstractTabDescriptor
- All Implemented Interfaces:
Cloneable
,ITabDescriptor
,ITabItem
An abstract implementation of a tab descriptor for the tabbed property view.
- Since:
- 3.4
- Author:
- Anthony Hunter
-
Field Summary
Fields inherited from interface org.eclipse.ui.views.properties.tabbed.ITabDescriptor
TOP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Instantiate this tab's sections.boolean
Get the identifier of the tab after which this tab should be displayed.getImage()
Get the icon image for the tab.Get the list of section descriptors for the tab.getText()
Get the text label for the tab.int
hashCode()
boolean
Determine if this tab is indented.boolean
Determine if this tab is selected.void
setSectionDescriptors
(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
-
Constructor Details
-
AbstractTabDescriptor
public AbstractTabDescriptor()Constructor for AbstractTabDescriptor.
-
-
Method Details
-
clone
-
createTab
Description copied from interface:ITabDescriptor
Instantiate this tab's sections.- Specified by:
createTab
in interfaceITabDescriptor
- Returns:
- The tab contents for this section.
-
equals
-
getAfterTab
Description copied from interface:ITabDescriptor
Get 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:
getAfterTab
in interfaceITabDescriptor
- Returns:
- the identifier of the tab.
-
getImage
Description copied from interface:ITabItem
Get the icon image for the tab. -
getSectionDescriptors
Get the list of section descriptors for the tab.- Specified by:
getSectionDescriptors
in interfaceITabDescriptor
- Returns:
- the list of section descriptors for the tab.
-
getText
Description copied from interface:ITabItem
Get the text label for the tab. -
hashCode
public int hashCode() -
isIndented
public boolean isIndented()Description copied from interface:ITabItem
Determine if this tab is indented.- Specified by:
isIndented
in interfaceITabItem
- Returns:
true
if this tab is indented.
-
isSelected
public boolean isSelected()Description copied from interface:ITabItem
Determine if this tab is selected.- Specified by:
isSelected
in interfaceITabItem
- Returns:
true
if this tab is selected.
-
setSectionDescriptors
Set the list of section descriptors for the tab.- Parameters:
sectionDescriptors
- the list of section descriptors for the tab.
-