Package com.iizigo.prop.editor.dialog
Class DateTimeDialog
- java.lang.Object
- org.eclipse.swt.widgets.Dialog
- com.iizigo.prop.editor.dialog.DateTimeDialog
public class DateTimeDialog extends org.eclipse.swt.widgets.Dialog
The date/time dialog to choose a date and/or time.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description DateTimeDialog(org.eclipse.swt.widgets.Shell parent, GDateTime dateTime, GDateTime.Type type, java.util.HashSet<GDateTime.Type> acceptedTypes)
Create the dialog.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GDateTime
open()
Open the dialog.
Constructor Detail
DateTimeDialog
public DateTimeDialog(org.eclipse.swt.widgets.Shell parent, GDateTime dateTime, GDateTime.Type type, java.util.HashSet<GDateTime.Type> acceptedTypes)
Create the dialog.
Method Detail
open
public GDateTime open()
Open the dialog.- Returns:
- the result, or null for cancel.