Class CDateTimeCellEditor


  • public class CDateTimeCellEditor
    extends org.eclipse.jface.viewers.CellEditor
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditor

        org.eclipse.jface.viewers.CellEditor.LayoutData
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private CDateTime cdt
      The CDateTime control; initial selection is the time of instantiation
      • Fields inherited from class org.eclipse.jface.viewers.CellEditor

        COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO
    • Constructor Summary

      Constructors 
      Constructor Description
      CDateTimeCellEditor​(org.eclipse.swt.widgets.Composite parent)
      Creates a new date/time cell editor parented under the given control.
      CDateTimeCellEditor​(org.eclipse.swt.widgets.Composite parent, int style)
      Creates a new date/time cell editor parented under the given control.
      CDateTimeCellEditor​(org.eclipse.swt.widgets.Composite parent, java.lang.String pattern)
      Creates a new date/time cell editor parented under the given control.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.swt.widgets.Control createControl​(org.eclipse.swt.widgets.Composite parent)  
      protected java.lang.Object doGetValue()  
      protected void doSetFocus()  
      protected void doSetValue​(java.lang.Object value)  
      • Methods inherited from class org.eclipse.jface.viewers.CellEditor

        activate, activate, addListener, addPropertyChangeListener, create, deactivate, deactivate, dependsOnExternalFocusListener, dispose, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, focusLost, getControl, getDoubleClickTimeout, getErrorMessage, getLayoutData, 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, valueChanged
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • cdt

        private CDateTime cdt
        The CDateTime control; initial selection is the time of instantiation
    • Constructor Detail

      • CDateTimeCellEditor

        public CDateTimeCellEditor​(org.eclipse.swt.widgets.Composite parent)
        Creates a new date/time cell editor parented under the given control.
        Parameters:
        parent - the parent control
      • CDateTimeCellEditor

        public CDateTimeCellEditor​(org.eclipse.swt.widgets.Composite parent,
                                   int style)
        Creates a new date/time cell editor parented under the given control.
        Parameters:
        parent - the parent control
        style - the style bits
      • CDateTimeCellEditor

        public CDateTimeCellEditor​(org.eclipse.swt.widgets.Composite parent,
                                   java.lang.String pattern)
        Creates a new date/time cell editor parented under the given control.
        Parameters:
        parent - the parent control
        style - the style bits
    • Method Detail

      • createControl

        protected org.eclipse.swt.widgets.Control createControl​(org.eclipse.swt.widgets.Composite parent)
        Specified by:
        createControl in class org.eclipse.jface.viewers.CellEditor
      • doGetValue

        protected java.lang.Object doGetValue()
        Specified by:
        doGetValue in class org.eclipse.jface.viewers.CellEditor
      • doSetFocus

        protected void doSetFocus()
        Specified by:
        doSetFocus in class org.eclipse.jface.viewers.CellEditor
      • doSetValue

        protected void doSetValue​(java.lang.Object value)
        Specified by:
        doSetValue in class org.eclipse.jface.viewers.CellEditor