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

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.DateTimeControl
All Implemented Interfaces:
ECPControlSWT

public class DateTimeControl
extends SingleControl

This class defines a DateTimeControl which is used for displaying EStructuralFeatures which have a date value.

Author:
Eugen Neufeld

Constructor Summary
DateTimeControl()
           
 
Method Summary
 org.eclipse.core.databinding.Binding bindValue()
          Triggers the control to perform the databinding.
 void setEditable(boolean isEditable)
          Sets the state of the widget to be either editable or not.
 
Methods inherited from class org.eclipse.emf.ecp.edit.internal.swt.controls.SingleControl
dispose, 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

DateTimeControl

public DateTimeControl()
Method Detail

setEditable

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

bindValue

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

Returns:
The Binding


Copyright © 2014. All Rights Reserved.