Class EMFLocalDateDialog
java.lang.Object
com.amalgamasimulation.desktop.binding.dialogs.ContainerLocalDateDialog<org.eclipse.emf.ecore.EObject>
com.amalgamasimulation.desktop.binding.dialogs.EMFLocalDateDialog
The class is used to create and open a date editing dialog.
Used only with EMF (EObject).
- Author:
- Ionov Ivan
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanFlag indicating whether the clear value button will be shownprotected com.amalgamasimulation.desktop.binding.dialogs.AbstractLocalDateTimeDialog.DialogTypeDialog type.protected org.eclipse.swt.widgets.Shell -
Constructor Summary
ConstructorsConstructorDescriptionEMFLocalDateDialog(org.eclipse.swt.widgets.Shell shell, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature) -
Method Summary
Modifier and TypeMethodDescriptionvoidopen()Open dialog with date\time editors.com.amalgamasimulation.desktop.binding.dialogs.AbstractLocalDateTimeDialog<LocalDate> setButtonClear(boolean clearButtonExist) Set flag clearButtonExistMethods inherited from class com.amalgamasimulation.desktop.binding.dialogs.ContainerLocalDateDialog
doAction, getValue, setNewLocalDateCreator
-
Field Details
-
currentType
protected com.amalgamasimulation.desktop.binding.dialogs.AbstractLocalDateTimeDialog.DialogType currentTypeDialog type. Depending on this dialog type, time and/or date editor(s) will be shown in the dialog -
clearButtonExist
protected boolean clearButtonExistFlag indicating whether the clear value button will be shown -
shell
protected org.eclipse.swt.widgets.Shell shell
-
-
Constructor Details
-
EMFLocalDateDialog
public EMFLocalDateDialog(org.eclipse.swt.widgets.Shell shell, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
-
-
Method Details
-
setButtonClear
public com.amalgamasimulation.desktop.binding.dialogs.AbstractLocalDateTimeDialog<LocalDate> setButtonClear(boolean clearButtonExist) Set flag clearButtonExist- Parameters:
clearButtonExist- Flag indicating whether the clear value button will be shown- Returns:
- this object
-
open
public void open()Open dialog with date\time editors.
-