|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.preference.FieldEditor
org.eclipse.ui.ide.dialogs.AbstractEncodingFieldEditor
org.eclipse.ui.ide.dialogs.EncodingFieldEditor
The EncodingFieldEditor is a field editor that allows the user to set an encoding on a preference in a preference store.
This class may be instantiated; it is not intended to be subclassed.
Field Summary |
---|
Fields inherited from class org.eclipse.jface.preference.FieldEditor |
---|
HORIZONTAL_GAP, IS_VALID, VALUE |
Constructor Summary | |
---|---|
EncodingFieldEditor(String name,
String labelText,
Composite parent)
Create a new instance of the receiver on the preference called name with a label of labelText. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.ui.ide.dialogs.AbstractEncodingFieldEditor |
---|
adjustForNumColumns, createEncodingGroup, defaultButtonText, doFillIntoGrid, doLoad, doLoadDefault, findDefaultEncoding, getDefaultEnc, getNumberOfControls, getSelectedEncoding, hasSameEncoding, isValid, refreshValidState, setPreferenceStore |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EncodingFieldEditor(String name, String labelText, Composite parent)
name
- labelText
- parent
- Method Detail |
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
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.