Package org.eclipse.compare
Class LabelContributionItem
java.lang.Object
org.eclipse.jface.action.ContributionItem
org.eclipse.jface.action.ControlContribution
org.eclipse.compare.LabelContributionItem
- All Implemented Interfaces:
- IContributionItem
- Since:
- 3.10 A contribution item which delegates to a label on the tool bar.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected ControlcreateControl(Composite parent) Creates and returns the control for this contribution item under the given parent composite.Methods inherited from class org.eclipse.jface.action.ControlContributioncomputeWidth, fill, fill, fill, setVisible, update, updateMethods inherited from class org.eclipse.jface.action.ContributionItemdispose, fill, getId, getParent, isDirty, isDynamic, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, toString
- 
Constructor Details- 
LabelContributionItem- Parameters:
- id-
- name-
 
 
- 
- 
Method Details- 
createControlDescription copied from class:ControlContributionCreates and returns the control for this contribution item under the given parent composite.This framework method must be implemented by concrete subclasses. - Specified by:
- createControlin class- ControlContribution
- Parameters:
- parent- the parent composite
- Returns:
- the new control, must not be null
 
- 
getToolbarLabel
 
-