public class TableActionIconButton extends Object implements ActionControlCreator<org.eclipse.swt.widgets.Button>
Constructor and Description |
---|
TableActionIconButton(String tooltipText,
org.eclipse.swt.graphics.Image icon)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.widgets.Button |
createControl(org.eclipse.swt.widgets.Composite parent,
Action action)
Creates a new control.
|
public TableActionIconButton(String tooltipText, org.eclipse.swt.graphics.Image icon)
tooltipText
- the tooltip text to useicon
- the icon to usepublic org.eclipse.swt.widgets.Button createControl(org.eclipse.swt.widgets.Composite parent, Action action)
ActionControlCreator
createControl
in interface ActionControlCreator<org.eclipse.swt.widgets.Button>
parent
- the parent composite to create onaction
- the action to bind the control toCopyright © 2019. All rights reserved.