Class LabelContributionItem

All Implemented Interfaces:
IContributionItem

public class LabelContributionItem extends ControlContribution
Since:
3.10 A contribution item which delegates to a label on the tool bar.
  • Constructor Details

    • LabelContributionItem

      public LabelContributionItem(String id, String name)
      Parameters:
      id -
      name -
  • Method Details

    • createControl

      protected Control createControl(Composite parent)
      Description copied from class: ControlContribution
      Creates and returns the control for this contribution item under the given parent composite.

      This framework method must be implemented by concrete subclasses.

      Specified by:
      createControl in class ControlContribution
      Parameters:
      parent - the parent composite
      Returns:
      the new control, must not be null
    • getToolbarLabel

      public Label getToolbarLabel()