|
||||||||||
| 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.jface.preference.StringFieldEditor
org.eclipse.jface.preference.StringButtonFieldEditor
org.eclipse.jface.preference.DirectoryFieldEditor
org.mailster.gui.prefs.widgets.DirectoryFieldEditor
public class DirectoryFieldEditor
Extends the original JFace DirectoryFieldEditor to enable the
configuration of the validation strategy via constructor. This can either be
VALIDATE_ON_KEY_STROKE to perform on the fly checking (the
default), or VALIDATE_ON_FOCUS_LOST to perform validation only
after the text has been typed in.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.preference.StringFieldEditor |
|---|
oldValue, UNLIMITED, VALIDATE_ON_FOCUS_LOST, VALIDATE_ON_KEY_STROKE |
| Fields inherited from class org.eclipse.jface.preference.FieldEditor |
|---|
HORIZONTAL_GAP, IS_VALID, VALUE |
| Constructor Summary | |
|---|---|
DirectoryFieldEditor(java.lang.String name,
java.lang.String labelText,
org.eclipse.swt.widgets.Composite parent,
int strategy)
Creates a new DirectoryFieldEditor. |
|
| Method Summary |
|---|
| Methods inherited from class org.eclipse.jface.preference.DirectoryFieldEditor |
|---|
changePressed, doCheckState |
| Methods inherited from class org.eclipse.jface.preference.StringButtonFieldEditor |
|---|
adjustForNumColumns, doFillIntoGrid, getChangeControl, getNumberOfControls, getShell, setChangeButtonText, setEnabled |
| Methods inherited from class org.eclipse.jface.preference.StringFieldEditor |
|---|
checkState, doLoad, doLoadDefault, doStore, getErrorMessage, getStringValue, getTextControl, getTextControl, isEmptyStringAllowed, isValid, refreshValidState, setEmptyStringAllowed, setErrorMessage, setFocus, setStringValue, setTextLimit, setValidateStrategy, showErrorMessage, valueChanged |
| Methods inherited from class org.eclipse.jface.preference.FieldEditor |
|---|
applyFont, checkParent, clearErrorMessage, clearMessage, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, createControl, dispose, fillIntoGrid, fireStateChanged, fireValueChanged, getFieldEditorFontName, getLabelControl, getLabelControl, getLabelText, getPage, getPreferenceName, getPreferencePage, getPreferenceStore, init, load, loadDefault, presentsDefaultValue, setButtonLayoutData, setLabelText, setPage, setPreferenceName, setPreferencePage, setPreferenceStore, setPresentsDefaultValue, setPropertyChangeListener, showErrorMessage, showMessage, store |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryFieldEditor(java.lang.String name,
java.lang.String labelText,
org.eclipse.swt.widgets.Composite parent,
int strategy)
DirectoryFieldEditor.
name - the name of the preference this field editor works onlabelText - the label text of the field editorparent - the parent of the field editor's controlstrategy - either VALIDATE_ON_KEY_STROKE to perform
on the fly checking (the default), or
VALIDATE_ON_FOCUS_LOST to perform validation
only after the text has been typed in
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||