Package org.eclipse.jface.preference
Class PathEditor
java.lang.Object
org.eclipse.jface.preference.FieldEditor
org.eclipse.jface.preference.ListEditor
org.eclipse.jface.preference.PathEditor
A field editor to edit directory paths.
- 
Field SummaryFields inherited from class org.eclipse.jface.preference.FieldEditorHORIZONTAL_GAP, IS_VALID, VALUE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCreates a new path field editorPathEditor(String name, String labelText, String dirChooserLabelText, Composite parent) Creates a path field editor.
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringcreateList(String[] items) Combines the given list of items into a single string.protected StringCreates and returns a new item for the list.protected String[]parseString(String stringList) Splits the given string into a list of strings.Methods inherited from class org.eclipse.jface.preference.ListEditoradjustForNumColumns, createSelectionListener, doFillIntoGrid, doLoad, doLoadDefault, doStore, getAddButton, getButtonBoxControl, getDownButton, getList, getListControl, getNumberOfControls, getRemoveButton, getShell, getUpButton, selectionChanged, setEnabled, setFocusMethods inherited from class org.eclipse.jface.preference.FieldEditorapplyFont, checkParent, clearErrorMessage, clearMessage, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, createControl, dispose, fillIntoGrid, fireStateChanged, fireValueChanged, getFieldEditorFontName, getLabelControl, getLabelControl, getLabelText, getPage, getPreferenceName, getPreferencePage, getPreferenceStore, init, isValid, load, loadDefault, presentsDefaultValue, refreshValidState, setButtonLayoutData, setLabelText, setPage, setPreferenceName, setPreferencePage, setPreferenceStore, setPresentsDefaultValue, setPropertyChangeListener, showErrorMessage, showMessage, store
- 
Constructor Details- 
PathEditorprotected PathEditor()Creates a new path field editor
- 
PathEditorCreates a path field editor.- Parameters:
- name- the name of the preference this field editor works on
- labelText- the label text of the field editor
- dirChooserLabelText- the label text displayed for the directory chooser
- parent- the parent of the field editor's control
 
 
- 
- 
Method Details- 
createListDescription copied from class:ListEditorCombines the given list of items into a single string. This method is the converse ofparseString.Subclasses must implement this method. - Specified by:
- createListin class- ListEditor
- Parameters:
- items- the list of items
- Returns:
- the combined string
- See Also:
 
- 
getNewInputObjectDescription copied from class:ListEditorCreates and returns a new item for the list.Subclasses must implement this method. - Specified by:
- getNewInputObjectin class- ListEditor
- Returns:
- a new item
 
- 
parseStringDescription copied from class:ListEditorSplits the given string into a list of strings. This method is the converse ofcreateList.Subclasses must implement this method. - Specified by:
- parseStringin class- ListEditor
- Parameters:
- stringList- the string
- Returns:
- an array of String
- See Also:
 
 
-