group.add(tickTextField, Validators.REQUIRE_NON_EMPTY_STRING,
Validators.numberRange(Double.MIN_VALUE, (bounds.getHigh() - bounds.getLow())));
} else {
//TODO validation with dates
group.add(windowTextField, Validators.REQUIRE_NON_EMPTY_STRING,
new PositiveNumberValidator(),
new DateRangeValidator(windowTimeUnitCombo.getModel()));
group.add(tickTextField, Validators.REQUIRE_NON_EMPTY_STRING,
new PositiveNumberValidator(),
new DateRangeValidator(tickTimeUnitCombo.getModel()),
new TickUnderWindowValidator(!model.getTimeFormat().equals(DynamicModel.TimeFormat.DOUBLE)));
}
}