public class HelpLinkBooleanTooltipFieldEditor extends BooleanTooltipFieldEditor
BooleanTooltipFieldEditor
enhanced
with support for a help button linking to an Eclipse help entry.Constructor and Description |
---|
HelpLinkBooleanTooltipFieldEditor()
Default constructor
|
HelpLinkBooleanTooltipFieldEditor(java.lang.String name,
java.lang.String label,
java.lang.String tooltip,
Composite parent,
java.lang.String helpURL,
java.lang.String helpImageTooltip)
Constructor setting all parameters
|
HelpLinkBooleanTooltipFieldEditor(java.lang.String name,
java.lang.String labelText,
java.lang.String tooltip,
int style,
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() |
void |
setEnabled(boolean enabled,
Composite parent) |
getCheckBox, setCheckBoxEnabled, setTooltipText
public HelpLinkBooleanTooltipFieldEditor()
public HelpLinkBooleanTooltipFieldEditor(java.lang.String name, java.lang.String label, java.lang.String tooltip, Composite parent, java.lang.String helpURL, java.lang.String helpImageTooltip)
name
- the name of the preference this field editor works onlabel
- the label text of the field editortooltip
- the tooltip to be displayed on the checkbox 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 HelpLinkBooleanTooltipFieldEditor(java.lang.String name, java.lang.String labelText, java.lang.String tooltip, int style, 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 checkbox and the labelstyle
- The check box style to be usedparent
- 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 iconprotected void doFillIntoGrid(Composite parent, int numColumns)
org.eclipse.jface.preference.StringButtonFieldEditor#doFillIntoGrid(org.eclipse.swt.widgets.Composite, int)
public int getNumberOfControls()
org.eclipse.jface.preference.StringButtonFieldEditor#getNumberOfControls()
protected void adjustForNumColumns(int numColumns)
org.eclipse.jface.preference.StringButtonFieldEditor#adjustForNumColumns(int)
public void setEnabled(boolean enabled, Composite parent)
org.eclipse.jface.preference.StringButtonFieldEditor#setEnabled(boolean, org.eclipse.swt.widgets.Composite)