|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.preference.FieldEditor
org.eclipse.jface.preference.BooleanFieldEditor
org.eclipse.rse.ui.propertypages.SystemBooleanFieldEditor
public class SystemBooleanFieldEditor
Thin subclass so we can support setToolTipText!!
Field Summary |
---|
Fields inherited from class org.eclipse.jface.preference.BooleanFieldEditor |
---|
DEFAULT, SEPARATE_LABEL |
Fields inherited from class org.eclipse.jface.preference.FieldEditor |
---|
HORIZONTAL_GAP, IS_VALID, VALUE |
Constructor Summary | |
---|---|
protected |
SystemBooleanFieldEditor()
Constructor for SystemBooleanFieldEditor |
|
SystemBooleanFieldEditor(String name,
ResourceBundle rb,
String labelKey,
Composite parent)
Constructor for SystemBooleanFieldEditor, using DEFAULT for the style, and specifying a resource bundle and key from which the label (_LABEL and tooltip text (_TOOLTIP are retrieved. |
|
SystemBooleanFieldEditor(String name,
String labelText,
Composite parent)
Constructor for SystemBooleanFieldEditor, using DEFAULT for the style |
|
SystemBooleanFieldEditor(String name,
String labelText,
int style,
Composite parent)
Constructor for SystemBooleanFieldEditor |
Method Summary | |
---|---|
protected Button |
getChangeControl(Composite parent)
Returns the change button for this field editor. |
String |
getToolTipText()
Get the tooltip text |
void |
setEnabled(boolean enablement)
Method setEnabled |
void |
setHelp(String helpID)
Set the help for the control |
void |
setToolTipText(String tip)
Set the tooltip text |
Methods inherited from class org.eclipse.jface.preference.BooleanFieldEditor |
---|
adjustForNumColumns, doFillIntoGrid, doLoad, doLoadDefault, doStore, getBooleanValue, getDescriptionControl, getNumberOfControls, setEnabled, setFocus, setLabelText, valueChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SystemBooleanFieldEditor()
public SystemBooleanFieldEditor(String name, String labelText, int style, Composite parent)
name
- the preference-store-key of the preference this field editor works onlabelText
- the label text of the field editorstyle
- the style, either DEFAULT
or
SEPARATE_LABEL
parent
- the parent of the field editor's controlBooleanFieldEditor.DEFAULT
,
BooleanFieldEditor.SEPARATE_LABEL
public SystemBooleanFieldEditor(String name, String labelText, Composite parent)
name
- the preference-store-key of the preference this field editor works onlabelText
- the label text of the field editorparent
- the parent of the field editor's controlpublic SystemBooleanFieldEditor(String name, ResourceBundle rb, String labelKey, Composite parent)
name
- the preference-store-key of the preference this field editor works onrb
- the ResourceBundle we will query the label and tooltip fromlabelKey
- the resource bundle key from which we get the label (_LABEL and tooltip (_TOOLTIPparent
- the parent of the field editor's controlMethod Detail |
---|
protected Button getChangeControl(Composite parent)
getChangeControl
in class BooleanFieldEditor
public void setToolTipText(String tip)
public String getToolTipText()
public void setHelp(String helpID)
public void setEnabled(boolean enablement)
enablement
- state
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |