Class AbstractTabDescriptor

  • All Implemented Interfaces:
    java.lang.Cloneable, ITabDescriptor, ITabItem

    public abstract class AbstractTabDescriptor
    extends java.lang.Object
    implements ITabDescriptor, java.lang.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.
    • Constructor Detail

      • AbstractTabDescriptor

        public AbstractTabDescriptor()
        Constructor for AbstractTabDescriptor.
    • Method Detail

      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • getAfterTab

        public java.lang.String 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 interface ITabDescriptor
        Returns:
        the identifier of the tab.
      • getImage

        public Image getImage()
        Description copied from interface: ITabItem
        Get the icon image for the tab.
        Specified by:
        getImage in interface ITabItem
        Returns:
        the icon image for the tab.
      • getSectionDescriptors

        public java.util.List getSectionDescriptors()
        Get the list of section descriptors for the tab.
        Specified by:
        getSectionDescriptors in interface ITabDescriptor
        Returns:
        the list of section descriptors for the tab.
      • getText

        public java.lang.String getText()
        Description copied from interface: ITabItem
        Get the text label for the tab.
        Specified by:
        getText in interface ITabItem
        Returns:
        the text label for the tab.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • isIndented

        public boolean isIndented()
        Description copied from interface: ITabItem
        Determine if this tab is indented.
        Specified by:
        isIndented in interface ITabItem
        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 interface ITabItem
        Returns:
        true if this tab is selected.
      • setSectionDescriptors

        public void setSectionDescriptors​(java.util.List sectionDescriptors)
        Set the list of section descriptors for the tab.
        Parameters:
        sectionDescriptors - the list of section descriptors for the tab.