@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
MarriageProposalDialog dialog = new MarriageProposalDialog();
if (dialog.open() == SWT.OK) {
ClientService client = ReInjector.getInstance()
.getInstanceForClass(ClientService.class);
client.execute(new ProposeMarriageCommand(dialog.getProposer(),
dialog.getProposedTo()));
}
return null;
}