Person person = registration.getStudent();
TableItem item = new TableItem(replacementStudentTable, SWT.LEFT);
item.setText(0, registration.getIdRegistration());
item.setText(1, person.getName());
Presence replacementOfPresence = registrationAppointment.getReplacementOfPresence();
item.setText(2, (replacementOfPresence == null) ? "" : replacementOfPresence.getDate().getFormatedDate() + " " +replacementOfPresence.getDate().getHourOfDay()+"h.");
item.setText(3, registrationMap.getPresentStatus(registration, date));
}
}