Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.propertypages
Class SystemBooleanFieldEditor

java.lang.Object
  extended byBooleanFieldEditor
      extended bycom.ibm.etools.systems.core.ui.propertypages.SystemBooleanFieldEditor

public class SystemBooleanFieldEditor
extends BooleanFieldEditor

Thin subclass so we can support setToolTipText!!

See Also:
Serialized Form

Field Summary
static String copyright
           
 
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 setHelp(String helpID)
          Set the help for the control
 void setToolTipText(String tip)
          Set the tooltip text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

SystemBooleanFieldEditor

protected SystemBooleanFieldEditor()
Constructor for SystemBooleanFieldEditor


SystemBooleanFieldEditor

public SystemBooleanFieldEditor(String name,
                                String labelText,
                                int style,
                                Composite parent)
Constructor for SystemBooleanFieldEditor

Parameters:
name - the preference-store-key of the preference this field editor works on
labelText - the label text of the field editor
style - the style, either DEFAULT or SEPARATE_LABEL
parent - the parent of the field editor's control
See Also:
#DEFAULT, #SEPARATE_LABEL

SystemBooleanFieldEditor

public SystemBooleanFieldEditor(String name,
                                String labelText,
                                Composite parent)
Constructor for SystemBooleanFieldEditor, using DEFAULT for the style

Parameters:
name - the preference-store-key of the preference this field editor works on
labelText - the label text of the field editor
parent - the parent of the field editor's control

SystemBooleanFieldEditor

public 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.

Parameters:
name - the preference-store-key of the preference this field editor works on
rb - the ResourceBundle we will query the label and tooltip from
labelKey - the resource bundle key from which we get the label (+"label") and tooltip (+"tooltip")
parent - the parent of the field editor's control
Method Detail

getChangeControl

protected Button getChangeControl(Composite parent)
Returns the change button for this field editor. This is an override of our parent's method because this is the only way for us to gain access to the checkbox so that we can apply our tooltip text.


setToolTipText

public void setToolTipText(String tip)
Set the tooltip text


getToolTipText

public String getToolTipText()
Get the tooltip text


setHelp

public void setHelp(String helpID)
Set the help for the control


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.