Class EMFLocalDateTimeDialog<T>

java.lang.Object
com.amalgamasimulation.desktop.binding.dialogs.ContainerLocalDateTimeDialog<T>
com.amalgamasimulation.desktop.binding.dialogs.EMFLocalDateTimeDialog<T>
Type Parameters:
T - the type of object in which the LocalDateTime is stored

public class EMFLocalDateTimeDialog<T> extends ContainerLocalDateTimeDialog<T>
The class is used to create and open a dialog for editing date and time. Used only with EMF (EObject)
Author:
Ionov Ivan
  • Field Details

    • currentType

      protected com.amalgamasimulation.desktop.binding.dialogs.AbstractLocalDateTimeDialog.DialogType currentType
      Dialog type. Depending on this dialog type, time and/or date editor(s) will be shown in the dialog
    • clearButtonExist

      protected boolean clearButtonExist
      Flag indicating whether the clear value button will be shown
    • shell

      protected org.eclipse.swt.widgets.Shell shell
  • Constructor Details

    • EMFLocalDateTimeDialog

      public EMFLocalDateTimeDialog(org.eclipse.swt.widgets.Shell shell, T owner, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
  • Method Details

    • setButtonClear

      public com.amalgamasimulation.desktop.binding.dialogs.AbstractLocalDateTimeDialog<LocalDateTime> 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.