public class HelpLinkIntegerTooltipFieldEditor extends IntegerTooltipFieldEditor
IntegerTooltipFieldEditor
enhanced
with support for a help button linking to an Eclipse help entry.Constructor and Description |
---|
HelpLinkIntegerTooltipFieldEditor()
Default contructor
|
HelpLinkIntegerTooltipFieldEditor(java.lang.String name,
java.lang.String labelText,
java.lang.String tooltip,
Composite parent,
int textLimit,
java.lang.String helpURL,
java.lang.String helpImageTooltip)
Constructor setting all parameters
|
HelpLinkIntegerTooltipFieldEditor(java.lang.String name,
java.lang.String labelText,
java.lang.String tooltip,
Composite parent,
java.lang.String helpURL,
java.lang.String helpImageTooltip)
Constructor setting all parameters
|
Modifier and Type | Method and Description |
---|---|
protected void |
adjustForNumColumns(int numColumns) |
protected void |
doFillIntoGrid(Composite parent,
int numColumns) |
int |
getNumberOfControls() |
Text |
getTextControl(Composite parent) |
void |
setEnabled(boolean enabled,
Composite parent) |
setTooltipText
public HelpLinkIntegerTooltipFieldEditor()
public HelpLinkIntegerTooltipFieldEditor(java.lang.String name, java.lang.String labelText, java.lang.String tooltip, Composite parent, java.lang.String helpURL, java.lang.String helpImageTooltip)
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 editor item and the labelparent
- the parent of the field editor's controlhelpURL
- the URL to the help item to displayhelpImageTooltip
- the tooltip to be displayed for the help link iconpublic HelpLinkIntegerTooltipFieldEditor(java.lang.String name, java.lang.String labelText, java.lang.String tooltip, Composite parent, int textLimit, java.lang.String helpURL, java.lang.String helpImageTooltip)
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 editor item and the labelparent
- the parent of the field editor's controltextLimit
- the maximum number of characters in the texthelpURL
- the URL to the help item to displayhelpImageTooltip
- the tooltip to be displayed for the help link iconprotected void doFillIntoGrid(Composite parent, int numColumns)
org.eclipse.jface.preference.StringFieldEditor#doFillIntoGrid(org.eclipse.swt.widgets.Composite, int)
public Text getTextControl(Composite parent)
org.eclipse.jface.preference.StringFieldEditor#getTextControl(org.eclipse.swt.widgets.Composite)
public int getNumberOfControls()
org.eclipse.jface.preference.StringFieldEditor#getNumberOfControls()
protected void adjustForNumColumns(int numColumns)
org.eclipse.jface.preference.StringFieldEditor#adjustForNumColumns(int)
public void setEnabled(boolean enabled, Composite parent)
org.eclipse.jface.preference.StringFieldEditor#setEnabled(boolean, org.eclipse.swt.widgets.Composite)