public final class EncodingFieldEditor extends AbstractEncodingFieldEditor
This class may be instantiated; it is not intended to be subclassed.
HORIZONTAL_GAP, IS_VALID, VALUE| Constructor and Description |
|---|
EncodingFieldEditor(String name,
String labelText,
Composite parent)
Create a new instance of the receiver on the preference called name
with a label of labelText.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStore()
Stores the preference value from this field editor into
the preference store.
|
protected String |
getStoredValue()
Returns the value that is currently stored for the encoding.
|
adjustForNumColumns, createEncodingGroup, defaultButtonText, doFillIntoGrid, doLoad, doLoadDefault, findDefaultEncoding, getDefaultEnc, getNumberOfControls, getSelectedEncoding, hasSameEncoding, isValid, refreshValidState, setPreferenceStoreapplyFont, checkParent, clearErrorMessage, clearMessage, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, createControl, dispose, fillIntoGrid, fireStateChanged, fireValueChanged, getFieldEditorFontName, getLabelControl, getLabelControl, getLabelText, getPage, getPreferenceName, getPreferencePage, getPreferenceStore, init, load, loadDefault, presentsDefaultValue, setButtonLayoutData, setEnabled, setFocus, setLabelText, setPage, setPreferenceName, setPreferencePage, setPresentsDefaultValue, setPropertyChangeListener, showErrorMessage, showMessage, storeprotected String getStoredValue()
AbstractEncodingFieldEditorgetStoredValue in class AbstractEncodingFieldEditorprotected void doStore()
FieldEditorSubclasses must implement this method to save the entered value into the preference store.
doStore in class FieldEditorGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.