Class EMFLocalDateDialog

java.lang.Object
com.amalgamasimulation.desktop.binding.dialogs.ContainerLocalDateDialog<org.eclipse.emf.ecore.EObject>
com.amalgamasimulation.desktop.binding.dialogs.EMFLocalDateDialog

public class EMFLocalDateDialog extends ContainerLocalDateDialog<org.eclipse.emf.ecore.EObject>
The class is used to create and open a date editing dialog. Used only with EMF (EObject).
Author:
Ionov Ivan
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
    Flag indicating whether the clear value button will be shown
    protected com.amalgamasimulation.desktop.binding.dialogs.AbstractLocalDateTimeDialog.DialogType
    Dialog type.
    protected org.eclipse.swt.widgets.Shell
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    EMFLocalDateDialog(org.eclipse.swt.widgets.Shell shell, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Open dialog with date\time editors.
    com.amalgamasimulation.desktop.binding.dialogs.AbstractLocalDateTimeDialog<LocalDate>
    setButtonClear(boolean clearButtonExist)
    Set flag clearButtonExist

    Methods inherited from class com.amalgamasimulation.desktop.binding.dialogs.ContainerLocalDateDialog

    doAction, getValue, setNewLocalDateCreator

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

    • 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.