Package gda.rcp.views

Class TabCompositeFactoryImpl

java.lang.Object
gda.rcp.views.TabCompositeFactoryImpl
All Implemented Interfaces:
CompositeFactory, TabCompositeFactory

public class TabCompositeFactoryImpl extends Object implements TabCompositeFactory
  • Constructor Details

    • TabCompositeFactoryImpl

      public TabCompositeFactoryImpl()
  • Method Details

    • getCompositeFactory

      public CompositeFactory getCompositeFactory()
    • setCompositeFactory

      public void setCompositeFactory(CompositeFactory compositeFactory)
    • getImagePluginId

      public String getImagePluginId()
    • setImagePluginId

      public void setImagePluginId(String imagePluginId)
    • getImageFilePath

      public String getImageFilePath()
    • setImageFilePath

      public void setImageFilePath(String imageFilePath)
    • getImage

      public org.eclipse.swt.graphics.Image getImage()
      Description copied from interface: TabCompositeFactory
      Returns the image to be used when displaying the tab for this mode.

      It is up to the mode to dispose of any image resources created.

      Specified by:
      getImage in interface TabCompositeFactory
      Returns:
      a tab image, or null to use default image
    • createComposite

      public org.eclipse.swt.widgets.Composite createComposite(org.eclipse.swt.widgets.Composite parent, int style)
      Specified by:
      createComposite in interface CompositeFactory
    • getTooltip

      public String getTooltip()
      Description copied from interface: TabCompositeFactory
      Return a user-friendly name for this mode
      Specified by:
      getTooltip in interface TabCompositeFactory
      Returns:
      String name
    • getLabel

      public String getLabel()
      Description copied from interface: TabCompositeFactory
      The label displayed on the tab
      Specified by:
      getLabel in interface TabCompositeFactory
    • setTooltip

      public void setTooltip(String tooltip)
    • setLabel

      public void setLabel(String label)
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface TabCompositeFactory
    • setEnabled

      public void setEnabled(boolean enabled)