}
private void editRegistration() {
if (!((RegistrationControlCenter) controlCenter).getPersonName().equals("")) {
if (registrationTable.getSelection().length > 0) {
new RegistrationEditDialog(getShell(), controlCenter, registrationTable.getSelection()[0].getText(0)).open();
} else {
((RegistrationControlCenter) controlCenter).setErrorMessage("Voc� deve selecionar uma matr�cula antes de prosseguir.");
}
} else {
((RegistrationControlCenter) controlCenter).setErrorMessage(ERROR_MESSAGE);