public class IntegerTooltipFieldEditor
extends IntegerFieldEditor
org.eclipse.jface.preference.IntegerFieldEditor
enhanced
with support for tooltips.Constructor and Description |
---|
IntegerTooltipFieldEditor()
Default constructor
|
IntegerTooltipFieldEditor(java.lang.String name,
java.lang.String labelText,
java.lang.String tooltip,
Composite parent)
Creates an integer field editor with tooltip support.
|
IntegerTooltipFieldEditor(java.lang.String name,
java.lang.String labelText,
java.lang.String tooltip,
Composite parent,
int textLimit)
Creates an integer field editor with tooltip support and the specified
text limit.
|
Modifier and Type | Method and Description |
---|---|
void |
setTooltipText(java.lang.String text,
Composite parent)
Sets the tooltip on the checkbox and the label.
|
public IntegerTooltipFieldEditor()
public IntegerTooltipFieldEditor(java.lang.String name, java.lang.String labelText, java.lang.String tooltip, Composite parent)
name
- the name of the preference this field editor works onlabelText
- the label text of the field editortooltip
- the tooltip to be displayed on the text and labelparent
- the parent of the field editor's controlpublic IntegerTooltipFieldEditor(java.lang.String name, java.lang.String labelText, java.lang.String tooltip, Composite parent, int textLimit)
name
- the name of the preference this field editor works onlabelText
- the label text of the field editortooltip
- the tooltip to be displayed on the text and labelparent
- parent the parent of the field editor's controltextLimit
- the maximum number of characters in the text