if (control.handleStore()) // BUGZILLA 1181
new Duplicate().handleAction(transfer);
}
},null,false,"edit-copy.png");
Button execute = new Button(i18n.tr("Jetzt ausf�hren..."), new Action() {
public void handleAction(Object context) throws ApplicationException {
if (control.handleStore())
new AuslandsUeberweisungExecute().handleAction(transfer);
}
},null,false,"emblem-important.png");
execute.setEnabled(!transfer.ausgefuehrt());
Button store = new Button(i18n.tr("Speichern"), new Action() {
public void handleAction(Object context) throws ApplicationException {
control.handleStore();
}
},null,!transfer.ausgefuehrt(),"document-save.png");
store.setEnabled(!transfer.ausgefuehrt());
buttonArea.addButton(execute);
buttonArea.addButton(store);
buttonArea.paint(getParent());