if ( this.constraint instanceof HasOperator ) {
isCEPOperator = SuggestionCompletionEngine.isCEPOperator( ((HasOperator) this.constraint).getOperator() );
}
if ( SuggestionCompletionEngine.TYPE_DATE.equals( this.fieldType ) || (SuggestionCompletionEngine.TYPE_THIS.equals( this.fieldName ) && isCEPOperator) ) {
DatePickerLabel datePicker = new DatePickerLabel( constraint.getValue() );
this.constraint.setValue( datePicker.getDateString() );
if ( !this.readOnly ) {
datePicker.addValueChanged( new ValueChanged() {
public void valueChanged(String newValue) {
executeOnValueChangeCommand();
constraint.setValue( newValue );
}