public class DateChooserComboCellEditor
extends org.eclipse.jface.viewers.CellEditor
| Modifier and Type | Field and Description |
|---|---|
protected DateChooserCombo |
combo
The DateChooserCombo control
|
| Constructor and Description |
|---|
DateChooserComboCellEditor(org.eclipse.swt.widgets.Composite parent)
Creates a new date cell editor parented under the given control.
|
DateChooserComboCellEditor(org.eclipse.swt.widgets.Composite parent,
int style)
Creates a new date string cell editor parented under the given control.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.swt.widgets.Control |
createControl(org.eclipse.swt.widgets.Composite parent) |
protected java.lang.Object |
doGetValue()
The
DateChooserComboCellEditor implementation of
this CellEditor framework method returns
the date value. |
protected void |
doSetFocus() |
protected void |
doSetValue(java.lang.Object value)
The
DateChooserComboCellEditor implementation of
this CellEditor framework method accepts
a date value (type Date). |
DateChooserCombo |
getCombo()
Returns the wrapped DateChooserCombo widget.
|
org.eclipse.jface.viewers.CellEditor.LayoutData |
getLayoutData()
Returns a layout data object for this cell editor.
|
activate, activate, addListener, addPropertyChangeListener, create, deactivate, deactivate, dependsOnExternalFocusListener, dispose, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, focusLost, getControl, getDoubleClickTimeout, getErrorMessage, getStyle, getValidator, getValue, isActivated, isCopyEnabled, isCorrect, isCutEnabled, isDeleteEnabled, isDirty, isFindEnabled, isPasteEnabled, isRedoEnabled, isSelectAllEnabled, isUndoEnabled, isValueValid, keyReleaseOccured, markDirty, performCopy, performCut, performDelete, performFind, performPaste, performRedo, performSelectAll, performUndo, removeListener, removePropertyChangeListener, setErrorMessage, setFocus, setStyle, setValidator, setValue, setValueValid, valueChangedprotected DateChooserCombo combo
public DateChooserComboCellEditor(org.eclipse.swt.widgets.Composite parent)
parent - the parent controlpublic DateChooserComboCellEditor(org.eclipse.swt.widgets.Composite parent,
int style)
parent - the parent controlstyle - the style bitsprotected org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
createControl in class org.eclipse.jface.viewers.CellEditorprotected java.lang.Object doGetValue()
DateChooserComboCellEditor implementation of
this CellEditor framework method returns
the date value.doGetValue in class org.eclipse.jface.viewers.CellEditorprotected void doSetFocus()
doSetFocus in class org.eclipse.jface.viewers.CellEditorprotected void doSetValue(java.lang.Object value)
DateChooserComboCellEditor implementation of
this CellEditor framework method accepts
a date value (type Date).doSetValue in class org.eclipse.jface.viewers.CellEditorvalue - a date valuepublic DateChooserCombo getCombo()
public org.eclipse.jface.viewers.CellEditor.LayoutData getLayoutData()
Since a text editor field is scrollable we don't set a minimumSize, except that the minimum width is 60 pixels to make sure the arrow button and some text is visible.
getLayoutData in class org.eclipse.jface.viewers.CellEditor