Class XmlDateControlText

  • All Implemented Interfaces:
    ECPControlSWT

    @Deprecated
    public class XmlDateControlText
    extends AbstractTextControl
    Deprecated.
    This is a XMLDateControl. It is used to display values of type XMLGregorianCalendar. This control only displays a date widget.
    Author:
    Eugen Neufeld private Button bDate;
    • Constructor Detail

      • XmlDateControlText

        public XmlDateControlText()
        Deprecated.
    • Method Detail

      • getTextVariantID

        protected java.lang.String getTextVariantID()
        Deprecated.
        Description copied from class: AbstractTextControl
        The VariantId to use e.g. for RAP
        Specified by:
        getTextVariantID in class AbstractTextControl
        Returns:
        the String identifying this control
      • getUnsetLabelText

        protected java.lang.String getUnsetLabelText()
        Deprecated.
        Description copied from class: SWTControl
        Returns the string for the unset label.
        Specified by:
        getUnsetLabelText in class SWTControl
        Returns:
        The unset label text
      • getUnsetButtonTooltip

        protected java.lang.String getUnsetButtonTooltip()
        Deprecated.
        Description copied from class: SWTControl
        Returns the string for the unset button tooltip.
        Specified by:
        getUnsetButtonTooltip in class SWTControl
        Returns:
        The unset button tooltip
      • customizeText

        protected void customizeText​(org.eclipse.swt.widgets.Text text)
        Deprecated.
        Description copied from class: AbstractTextControl
        This method allows to set custom values to the text field, e.g. a tooltip or a validation.
        Overrides:
        customizeText in class AbstractTextControl
        Parameters:
        text - the text widget to customize
      • setEditable

        public void setEditable​(boolean editable)
        Deprecated.
        Description copied from class: AbstractTextControl
        Sets the state of the widget to be either editable or not.
        Overrides:
        setEditable in class AbstractTextControl
        Parameters:
        editable - whether to set the widget editable
      • fillControlComposite

        protected void fillControlComposite​(org.eclipse.swt.widgets.Composite composite)
        Deprecated.
        Description copied from class: SWTControl
        This method must be overridden by concrete classes. Here the widget displaying the data is added to the composite.
        Overrides:
        fillControlComposite in class AbstractTextControl
        Parameters:
        composite - the Composite to add the widget to
      • bindValue

        public org.eclipse.core.databinding.Binding bindValue()
        Deprecated.
        Description copied from class: SWTControl
        Triggers the control to perform the databinding.
        Overrides:
        bindValue in class AbstractTextControl
        Returns:
        The Binding
      • setupFormat

        protected java.text.DateFormat setupFormat()
        Deprecated.
        Sets up a DateFormat for the current Locale.
        Returns:
        the date format