Class BooleanControl

  • All Implemented Interfaces:
    ECPControlSWT

    @Deprecated
    public class BooleanControl
    extends SingleControl
    Deprecated.
    This class defines a BooleanControl which is used for displaying EStructuralFeatures which have a Boolean value.
    Author:
    Eugen Neufeld
    • Constructor Detail

      • BooleanControl

        public BooleanControl()
        Deprecated.
    • Method Detail

      • 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.
        Specified by:
        fillControlComposite in class SWTControl
        Parameters:
        composite - the Composite to add the widget to
      • setEditable

        public void setEditable​(boolean isEditable)
        Deprecated.
        Sets the state of the widget to be either editable or not.
        Overrides:
        setEditable in class ECPAbstractControl
        Parameters:
        isEditable - whether to set the widget editable
      • dispose

        public void dispose()
        Deprecated.
        Description copied from class: SingleControl
        Disposes the control. A control which needs specific dispose handling must still call super.dispose.
        Overrides:
        dispose in class SingleControl
      • bindValue

        public org.eclipse.core.databinding.Binding bindValue()
        Deprecated.
        Description copied from class: SWTControl
        Triggers the control to perform the databinding.
        Specified by:
        bindValue in class SWTControl
        Returns:
        The Binding
      • 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
      • getControlsForTooltip

        protected org.eclipse.swt.widgets.Control[] getControlsForTooltip()
        Deprecated.
        Description copied from class: SWTControl
        Method for retrieving all controls which should have the help text as their tooltip.
        Specified by:
        getControlsForTooltip in class SWTControl
        Returns:
        the array of the controls to set a tooltip to