Search in sources :

Example 1 with AbstractDateField

use of org.eclipse.scout.rt.client.ui.form.fields.datefield.AbstractDateField in project scout.rt by eclipse.

the class AbstractDateColumnTest method setParseErrorInUI.

private void setParseErrorInUI(ITableRow row, AbstractDateColumn column) {
    AbstractDateField field = (AbstractDateField) column.prepareEdit(row);
    field.getUIFacade().setDisplayTextFromUI("invalid");
    field.getUIFacade().setErrorStatusFromUI(new ParsingFailedStatus("Parsing failed", "invalid"));
    column.completeEdit(row, field);
}
Also used : AbstractDateField(org.eclipse.scout.rt.client.ui.form.fields.datefield.AbstractDateField) ParsingFailedStatus(org.eclipse.scout.rt.client.ui.form.fields.ParsingFailedStatus)

Aggregations

ParsingFailedStatus (org.eclipse.scout.rt.client.ui.form.fields.ParsingFailedStatus)1 AbstractDateField (org.eclipse.scout.rt.client.ui.form.fields.datefield.AbstractDateField)1