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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Control
createControl
(Composite parent) Creates and returns the control for this contribution item under the given parent composite.Methods inherited from class org.eclipse.jface.action.ControlContribution
computeWidth, fill, fill, fill, setVisible, update, update
Methods inherited from class org.eclipse.jface.action.ContributionItem
dispose, fill, getId, getParent, isDirty, isDynamic, isEnabled, isGroupMarker, isSeparator, isVisible, saveWidgetState, setId, setParent, toString
-
Constructor Details
-
LabelContributionItem
- Parameters:
id
-name
-
-
-
Method Details
-
createControl
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 classControlContribution
- Parameters:
parent
- the parent composite- Returns:
- the new control, must not be
null
-
getToolbarLabel
-