Example usage for Java org.eclipse.jface.preference StringFieldEditor fields, constructors, methods, implement or subclass
The text is from its open source code.
int | VALIDATE_ON_KEY_STROKE Validation strategy constant (value 0 ) indicating that the editor should perform validation after every key stroke. |
int | VALIDATE_ON_FOCUS_LOST Validation strategy constant (value 1 ) indicating that the editor should perform validation only when the text widget loses focus. |
int | UNLIMITED Text limit constant (value -1 ) indicating unlimited text limit and width. |
StringFieldEditor(String name, String labelText, Composite parent) Creates a string field editor of unlimited width. | |
StringFieldEditor(String name, String labelText, int width, Composite parent) Creates a string field editor. | |
StringFieldEditor(String name, String labelText, int width, int strategy, Composite parent) Creates a string field editor. |
void | fillIntoGrid(Composite parent, int numColumns) Fills this field editor's basic controls into the given parent. |
Label | getLabelControl(Composite parent) Returns this field editor's label component. |
String | getLabelText() Returns this field editor's label text. |
String | getPreferenceName() Returns the name of the preference this field editor operates on. |
IPreferenceStore | getPreferenceStore() Returns the preference store used by this field editor. |
String | getStringValue() Returns the field editor's value. |
Text | getTextControl(Composite parent) Returns this field editor's text control. |
void | load() Initializes this field editor with the preference value from the preference store. |
void | loadDefault() Initializes this field editor with the default preference value from the preference store. |
void | setEmptyStringAllowed(boolean b) Sets whether the empty string is a valid value or not. |
void | setEnabled(boolean enabled, Composite parent) |
void | setErrorMessage(String message) Sets the error message that will be displayed when and if an error occurs. |
void | setPage(DialogPage dialogPage) Set the page to be the receiver. |
void | setPreferenceName(String name) Sets the name of the preference this field editor operates on. |
void | setPreferenceStore(IPreferenceStore store) Sets the preference store used by this field editor. |
void | setPropertyChangeListener(IPropertyChangeListener listener) Sets or removes the property change listener for this field editor. |
void | setStringValue(String value) Sets this field editor's value. |
void | setTextLimit(int limit) Sets this text field's text limit. |
void | store() Stores this field editor's value back into the preference store. |