Class ToolControlContribution
java.lang.Object
org.eclipse.jface.action.ContributionItem
org.eclipse.jface.action.ControlContribution
org.eclipse.e4.ui.workbench.renderers.swt.ToolControlContribution
- All Implemented Interfaces:
IContributionItem
-
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.void
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
-
ToolControlContribution
public ToolControlContribution()
-
-
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
-