Example usage for Java org.eclipse.jface.preference FieldEditor fields, constructors, methods, implement or subclass
The text is from its open source code.
String | IS_VALID Property name constant (value "field_editor_is_valid" ) to signal a change in the validity of the value of this field editor. |
String | VALUE Property name constant (value "field_editor_value" ) to signal a change in the value of this field editor. |
FieldEditor() Creates a new field editor. |
void | dispose() Disposes the SWT resources used by this 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. |
int | getNumberOfControls() Returns the number of basic controls this field editor consists of. |
String | getPreferenceName() Returns the name of the preference this field editor operates on. |
IPreferenceStore | getPreferenceStore() Returns the preference store used by this field editor. |
boolean | isValid() Returns whether this field editor contains a valid value. |
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 | setEnabled(boolean enabled, Composite parent) Set whether or not the controls in the field editor are enabled. |
void | setFocus() Sets the focus to this field editor. |
void | setLabelText(String text) Sets this field editor's label text. |
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 | setPreferencePage(PreferencePage preferencePage) Sets the preference page in which this field editor appears. |
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 | store() Stores this field editor's value back into the preference store. |