addButton.setText("Adicionar matricula");
addButton.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event arg0) {
if (!((RegistrationControlCenter) controlCenter).getPersonName().equals("")) {
new RegistrationDialog(getShell(), controlCenter).open();
} else {
((RegistrationControlCenter) controlCenter).setErrorMessage(ERROR_MESSAGE);
}
}
});