protected void contributeButtons(Composite parent) {
Button addLabelMailingButton = new Button(parent, SWT.PUSH);
addLabelMailingButton.setText("Adicionar");
addLabelMailingButton.addListener(SWT.MouseDown, new Listener() {
public void handleEvent(Event arg0) {
new AddAndEditLabelMailingDialog(getShell()).open();
updateRegistrationTable();
}
});
editLabelMailingButton = new Button(parent, SWT.PUSH);
editLabelMailingButton.setText("Editar");
editLabelMailingButton.setEnabled(false);
editLabelMailingButton.addListener(SWT.MouseDown, new Listener() {
public void handleEvent(Event arg0) {
new AddAndEditLabelMailingDialog(getShell(),labelPageCodeTable.getSelection()[0].getText(0)).open();
updateRegistrationTable();
}
});
removeLabelMailingButton = new Button(parent, SWT.PUSH);