|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.preference.FieldEditor
net.sf.commonclipse.preferences.ComboFieldEditor
net.sf.commonclipse.preferences.ClassConstantFieldEditor
public class ClassConstantFieldEditor
ComboFieldEditor with check for valid class.CONSTANT values.
| Field Summary |
|---|
| Fields inherited from class net.sf.commonclipse.preferences.ComboFieldEditor |
|---|
textField, UNLIMITED |
| Fields inherited from class org.eclipse.jface.preference.FieldEditor |
|---|
HORIZONTAL_GAP, IS_VALID, VALUE |
| Constructor Summary | |
|---|---|
ClassConstantFieldEditor(java.lang.String name,
java.lang.String labelText,
org.eclipse.swt.widgets.Composite parent)
|
|
| Method Summary | |
|---|---|
protected boolean |
doCheckState()
Overrides default validation to check for a valid class.CONSTANT value. |
| Methods inherited from class net.sf.commonclipse.preferences.ComboFieldEditor |
|---|
adjustForNumColumns, checkState, clearErrorMessage, doFillIntoGrid, doLoad, doLoadDefault, doStore, getErrorMessage, getNumberOfControls, getStringValue, getTextControl, getTextControl, isEmptyStringAllowed, isValid, refreshValidState, setEmptyStringAllowed, setEnabled, setErrorMessage, setFocus, setPredefinedValues, setStringValue, setTextLimit, showErrorMessage, valueChanged |
| Methods inherited from class org.eclipse.jface.preference.FieldEditor |
|---|
applyFont, checkParent, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassConstantFieldEditor(java.lang.String name,
java.lang.String labelText,
org.eclipse.swt.widgets.Composite parent)
ComboFieldEditor.ComboFieldEditor(String, String, Composite)| Method Detail |
|---|
protected boolean doCheckState()
doCheckState in class ComboFieldEditortrue if the field value is valid, and false if invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||