org.eclipse.emf.ecp.edit.internal.swt.controls
Class XmlDateControlText

java.lang.Object
  extended by org.eclipse.emf.ecp.edit.spi.ECPAbstractControl
      extended by org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl
          extended by org.eclipse.emf.ecp.edit.internal.swt.controls.SingleControl
              extended by org.eclipse.emf.ecp.edit.internal.swt.controls.AbstractTextControl
                  extended by org.eclipse.emf.ecp.edit.internal.swt.controls.XmlDateControlText
All Implemented Interfaces:
ECPControlSWT

public class XmlDateControlText
extends AbstractTextControl

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 Summary
XmlDateControlText()
           
 
Method Summary
 org.eclipse.core.databinding.Binding bindValue()
          Triggers the control to perform the databinding.
 void setEditable(boolean editable)
          Sets the state of the widget to be either editable or not.
 
Methods inherited from class org.eclipse.emf.ecp.edit.internal.swt.controls.AbstractTextControl
dispose, getText
 
Methods inherited from class org.eclipse.emf.ecp.edit.internal.swt.controls.SingleControl
handleValidation, resetValidation, showLabel
 
Methods inherited from class org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl
createControl, createControls, setObservableValue
 
Methods inherited from class org.eclipse.emf.ecp.edit.spi.ECPAbstractControl
getDataBindingContext, getFirstSetting, getFirstStructuralFeature, getItemPropertyDescriptor, init, setEmbedded
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlDateControlText

public XmlDateControlText()
Method Detail

setEditable

public void setEditable(boolean editable)
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

bindValue

public org.eclipse.core.databinding.Binding bindValue()
Description copied from class: SWTControl
Triggers the control to perform the databinding.

Overrides:
bindValue in class AbstractTextControl
Returns:
The Binding


Copyright © 2014. All Rights Reserved.