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, setPreferenceStore
applyFont, 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, store
protected String getStoredValue()
AbstractEncodingFieldEditor
getStoredValue
in class AbstractEncodingFieldEditor
protected void doStore()
FieldEditor
Subclasses must implement this method to save the entered value into the preference store.
doStore
in class FieldEditor
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.