// TODO better per form handling?
parent.getShell().setDefaultButton(button);
} else if (bc.getType().equals("reset")) {
button.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
if (bc.press()) {
bc.getForm().reset();
}
}
});
} else {