public class LegacyPropertyTabItemDescriptor extends AbstractEEFTabDescriptor implements IItemDescriptor
TOP
Constructor and Description |
---|
LegacyPropertyTabItemDescriptor(java.lang.String contributorId,
java.lang.String label,
java.lang.String category,
java.lang.String afterTab,
java.lang.String id,
boolean indented,
org.eclipse.jface.resource.ImageDescriptor imageDesc)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes this descriptor.
|
java.lang.String |
getAfterTab()
Get the identifier of the tab after which this tab should be displayed.
|
java.lang.String |
getCategory()
Get the category this tab belongs to.
|
java.lang.String |
getContributorId()
Get contributor id.
|
java.lang.String |
getId()
Returns the identifier.
|
org.eclipse.swt.graphics.Image |
getImage()
Get the icon image for the tab.
|
java.lang.String |
getLabel()
Get the text label for the tab.
|
boolean |
isIndented()
Determine if this tab is indented.
|
clone, createTab, equals, getSectionDescriptors, getText, hashCode, isSelected, setSectionDescriptors
public LegacyPropertyTabItemDescriptor(java.lang.String contributorId, java.lang.String label, java.lang.String category, java.lang.String afterTab, java.lang.String id, boolean indented, org.eclipse.jface.resource.ImageDescriptor imageDesc)
contributorId
- The contributor idcategory
- The categoryid
- The idlabel
- The labelafterTab
- The afterTabindented
- Is indentedimageDesc
- The image descriptorpublic java.lang.String getCategory()
getCategory
in interface IEEFTabDescriptor
IEEFTabDescriptor.getCategory()
public java.lang.String getId()
getId
in interface IEEFTabDescriptor
getId
in interface IItemDescriptor
IEEFTabDescriptor.getId()
public java.lang.String getContributorId()
public java.lang.String getLabel()
getLabel
in interface IEEFTabDescriptor
IEEFTabDescriptor.getLabel()
public java.lang.String getAfterTab()
getAfterTab
in interface IEEFTabDescriptor
getAfterTab
in class AbstractEEFTabDescriptor
IEEFTabDescriptor.getAfterTab()
public boolean isIndented()
isIndented
in interface IEEFTabItem
isIndented
in class AbstractEEFTabDescriptor
true
if this tab is indented.IEEFTabItem.isIndented()
public org.eclipse.swt.graphics.Image getImage()
getImage
in interface IEEFTabItem
getImage
in class AbstractEEFTabDescriptor
IEEFTabItem.getImage()
public void dispose()