/**
* Die Daten der Zeitspanne werden ausgelesen und angezeigt.
*/
@Override
protected void update() {
Duration duration = (Duration) dataObject;
lblTask.setText(duration.getTask().getName());
lblStart.setText(DateTimeUtils.formatDateTime(duration.getStart()));
lblEnd.setText(DateTimeUtils.formatDateTime(duration.getEnd()));
lblDuration.setText(DateTimeUtils.minutesToString(duration.getDuration()));
taComment.setText(duration.getComment());
}