|
Eclipse Platform Release 3.6 |
|||||||||
| 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.ListEditor
org.eclipse.jface.preference.PathEditor
public class PathEditor
A field editor to edit directory paths.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.preference.FieldEditor |
|---|
HORIZONTAL_GAP, IS_VALID, VALUE |
| Constructor Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.eclipse.jface.preference.ListEditor |
|---|
adjustForNumColumns, createSelectionListener, doFillIntoGrid, doLoad, doLoadDefault, doStore, getAddButton, getButtonBoxControl, getDownButton, getList, getListControl, getNumberOfControls, getRemoveButton, getShell, getUpButton, selectionChanged, setEnabled, setFocus |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected 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 control| Method Detail |
|---|
protected java.lang.String createList(java.lang.String[] items)
ListEditorparseString.
Subclasses must implement this method.
createList in class ListEditoritems - the list of items
ListEditor.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 string
StringListEditor.createList(java.lang.String[])
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.