Class DateTimePickerDialog

java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.csstudio.swt.widgets.util.DateTimePickerDialog
All Implemented Interfaces:
IShellProvider

public class DateTimePickerDialog extends Dialog
A datetime picker dialog.
  • Constructor Details

    • DateTimePickerDialog

      public DateTimePickerDialog(Shell parentShell)
      Create a datetime picker dialog.
      Parameters:
      parentShell - the parent shell, or null to create a top-level shell
  • Method Details

    • configureShell

      protected void configureShell(Shell newShell)
      Overrides:
      configureShell in class Window
    • createDialogArea

      protected Control createDialogArea(Composite parent)
      Overrides:
      createDialogArea in class Dialog
    • setDateTime

      public void setDateTime(Date dateTime)
      Set the date time of the calendar when dialog is open.
      Parameters:
      dateTime -
    • getDateTime

      public Date getDateTime()
      Returns:
      the datetime picked.