public class DirectoryFieldEditor extends StringButtonFieldEditor
UNLIMITED, VALIDATE_ON_FOCUS_LOST, VALIDATE_ON_KEY_STROKE
HORIZONTAL_GAP, IS_VALID, VALUE
Modifier | Constructor and Description |
---|---|
protected |
DirectoryFieldEditor()
Creates a new directory field editor
|
|
DirectoryFieldEditor(String name,
String labelText,
Composite parent)
Creates a directory field editor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
changePressed()
Notifies that this field editor's change button has been pressed.
|
protected boolean |
doCheckState()
Hook for subclasses to do specific state checks.
|
adjustForNumColumns, doFillIntoGrid, getChangeControl, getNumberOfControls, getShell, setChangeButtonText, setEnabled
checkState, doLoad, doLoadDefault, doStore, getErrorMessage, getStringValue, getTextControl, getTextControl, isEmptyStringAllowed, isValid, refreshValidState, setEmptyStringAllowed, setErrorMessage, setFocus, setStringValue, setTextLimit, setValidateStrategy, showErrorMessage, valueChanged
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
protected DirectoryFieldEditor()
protected String changePressed()
StringButtonFieldEditor
Subclasses must implement this method to provide a corresponding
new string for the text field. If the returned value is null
,
the currently displayed value remains.
changePressed
in class StringButtonFieldEditor
null
to leave the
old string showingprotected boolean doCheckState()
StringFieldEditor
The default implementation of this framework method does
nothing and returns true
. Subclasses should
override this method to specific state checks.
doCheckState
in class StringFieldEditor
true
if the field value is valid,
and false
if invalidGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.