Package ch.fusun.baron.client.rmi

Examples of ch.fusun.baron.client.rmi.ClientService.execute()


  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;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.