public class PathEditor extends ListEditor
HORIZONTAL_GAP, IS_VALID, VALUE| Modifier | Constructor and Description |
|---|---|
protected |
PathEditor()
Creates a new path field editor
|
|
PathEditor(java.lang.String name,
java.lang.String labelText,
java.lang.String dirChooserLabelText,
Composite parent)
Creates a path field editor.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
createList(java.lang.String[] items)
Combines the given list of items into a single string.
|
protected java.lang.String |
getNewInputObject()
Creates and returns a new item for the list.
|
protected java.lang.String[] |
parseString(java.lang.String stringList)
Splits the given string into a list of strings.
|
adjustForNumColumns, createSelectionListener, doFillIntoGrid, doLoad, doLoadDefault, doStore, getAddButton, getButtonBoxControl, getDownButton, getList, getListControl, getNumberOfControls, getRemoveButton, getShell, getUpButton, selectionChanged, setEnabled, setFocusapplyFont, 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, storeprotected PathEditor()
public PathEditor(java.lang.String name,
java.lang.String labelText,
java.lang.String dirChooserLabelText,
Composite parent)
name - the name of the preference this field editor works onlabelText - the label text of the field editordirChooserLabelText - the label text displayed for the directory chooserparent - the parent of the field editor's controlprotected java.lang.String createList(java.lang.String[] items)
ListEditorparseString.
Subclasses must implement this method.
createList in class ListEditoritems - the list of itemsListEditor.parseString(java.lang.String)protected java.lang.String getNewInputObject()
ListEditorSubclasses must implement this method.
getNewInputObject in class ListEditorprotected java.lang.String[] parseString(java.lang.String stringList)
ListEditorcreateList.
Subclasses must implement this method.
parseString in class ListEditorstringList - the stringStringListEditor.createList(java.lang.String[])
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.