|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.preference.FieldEditor
net.bpelunit.framework.client.eclipse.preferences.ComboFieldEditor
public class ComboFieldEditor
A field editor for a combo box that allows the drop-down selection of one of a list of items. Taken from org.eclipse.jdt.internal.debug.ui.launcher.ComboFieldEditor and extended to allow external reactions to selections.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.preference.FieldEditor |
|---|
HORIZONTAL_GAP, IS_VALID, VALUE |
| Constructor Summary | |
|---|---|
ComboFieldEditor(String name,
String labelText,
String[][] entryNamesAndValues,
org.eclipse.swt.widgets.Composite parent)
|
|
| Method Summary | |
|---|---|
protected void |
adjustForNumColumns(int numColumns)
|
protected void |
doFillIntoGrid(org.eclipse.swt.widgets.Composite parent,
int numColumns)
|
protected void |
doLoad()
|
protected void |
doLoadDefault()
|
protected void |
doStore()
|
org.eclipse.swt.widgets.Combo |
getComboBoxControl(org.eclipse.swt.widgets.Composite parent)
Lazily create and return the Combo control. |
String |
getCurrentSelectionString()
|
int |
getNumberOfControls()
|
protected String |
getValueForName(String name)
Given the name (label) of an entry, return the corresponding value. |
protected void |
updateComboForValue(String value)
Set the name in the combo widget to match the specified value. |
| 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, isValid, load, loadDefault, presentsDefaultValue, refreshValidState, setButtonLayoutData, setEnabled, setFocus, 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 ComboFieldEditor(String name,
String labelText,
String[][] entryNamesAndValues,
org.eclipse.swt.widgets.Composite parent)
| Method Detail |
|---|
protected void adjustForNumColumns(int numColumns)
adjustForNumColumns in class org.eclipse.jface.preference.FieldEditorFieldEditor.adjustForNumColumns(int)
protected void doFillIntoGrid(org.eclipse.swt.widgets.Composite parent,
int numColumns)
doFillIntoGrid in class org.eclipse.jface.preference.FieldEditorFieldEditor.doFillIntoGrid(Composite, int)protected void doLoad()
doLoad in class org.eclipse.jface.preference.FieldEditorFieldEditor.doLoad()protected void doLoadDefault()
doLoadDefault in class org.eclipse.jface.preference.FieldEditorFieldEditor.doLoadDefault()protected void doStore()
doStore in class org.eclipse.jface.preference.FieldEditorFieldEditor.doStore()public int getNumberOfControls()
getNumberOfControls in class org.eclipse.jface.preference.FieldEditorFieldEditor.getNumberOfControls()public org.eclipse.swt.widgets.Combo getComboBoxControl(org.eclipse.swt.widgets.Composite parent)
protected String getValueForName(String name)
protected void updateComboForValue(String value)
public String getCurrentSelectionString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||