iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.editor.preferences
Class TStringFieldEditor

java.lang.Object
  extended byorg.eclipse.jface.preference.FieldEditor
      extended byorg.eclipse.jface.preference.StringFieldEditor
          extended bycom.ibm.etools.iseries.editor.preferences.TStringFieldEditor

public class TStringFieldEditor
extends StringFieldEditor


Field Summary
static String Copyright
           
 
Fields inherited from class org.eclipse.jface.preference.StringFieldEditor
UNLIMITED, VALIDATE_ON_FOCUS_LOST, VALIDATE_ON_KEY_STROKE
 
Fields inherited from class org.eclipse.jface.preference.FieldEditor
HORIZONTAL_GAP, IS_VALID, VALUE
 
Constructor Summary
TStringFieldEditor(String name, String labelText, Composite parent)
           
TStringFieldEditor(String name, String labelText, int width, Composite parent)
           
TStringFieldEditor(String name, String labelText, int width, int strategy, Composite parent)
           
 
Method Summary
protected  boolean doCheckState()
           
 Text getTextControl()
          Returns the text control.
 void setEmptyStringAllowed(boolean b)
           
 void setHelp(String contextId)
          Method setHelp.
 void setToolTipText(String tip)
          Method setToolTipText.
 
Methods inherited from class org.eclipse.jface.preference.StringFieldEditor
adjustForNumColumns, checkState, doFillIntoGrid, doLoad, doLoadDefault, doStore, getErrorMessage, getNumberOfControls, getStringValue, getTextControl, isEmptyStringAllowed, isValid, refreshValidState, setEnabled, setErrorMessage, setFocus, setStringValue, setTextLimit, setValidateStrategy, showErrorMessage, valueChanged
 
Methods inherited from class org.eclipse.jface.preference.FieldEditor
applyFont, checkParent, clearErrorMessage, clearMessage, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, createControl, dispose, fillIntoGrid, fireStateChanged, fireValueChanged, getFieldEditorFontName, getLabelControl, getLabelControl, getLabelText, getPreferenceName, getPreferencePage, getPreferenceStore, init, load, loadDefault, presentsDefaultValue, setButtonLayoutData, setLabelText, setPreferenceName, setPreferencePage, setPreferenceStore, setPresentsDefaultValue, setPropertyChangeListener, showErrorMessage, showMessage, store
 
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

TStringFieldEditor

public TStringFieldEditor(String name,
                          String labelText,
                          int width,
                          int strategy,
                          Composite parent)
See Also:
StringFieldEditor.StringFieldEditor(String, String, int, int, Composite)

TStringFieldEditor

public TStringFieldEditor(String name,
                          String labelText,
                          int width,
                          Composite parent)
See Also:
StringFieldEditor.StringFieldEditor(String, String, int, Composite)

TStringFieldEditor

public TStringFieldEditor(String name,
                          String labelText,
                          Composite parent)
See Also:
FieldEditor.FieldEditor(String, String, Composite)
Method Detail

setToolTipText

public void setToolTipText(String tip)
Method setToolTipText. The tooltip text

Parameters:
tip - the tip to set for the entry field

doCheckState

protected boolean doCheckState()
See Also:
StringFieldEditor.doCheckState()

getTextControl

public Text getTextControl()
Returns the text control. Makes this method public since the super class' method is protected.


setEmptyStringAllowed

public void setEmptyStringAllowed(boolean b)
See Also:
StringFieldEditor.setEmptyStringAllowed(boolean)

setHelp

public void setHelp(String contextId)
Method setHelp. Sets the info pop help for this field editor

Parameters:
contextId - the context ID for the help

iSeries Remote Systems
v6.0.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.