Package com.googlecode.richrest.client.work

Examples of com.googlecode.richrest.client.work.Work.back()


        final Work work = WorkDialog.this.work;
        if (work != null && work.isBackable()) {
          ThreadUtils.execute(new Runnable(){
            public void run() {
              try {
                work.back();
              } catch (final Throwable t) {
                shell.getDisplay().asyncExec(new Runnable() {
                  public void run() {
                    MessageDialog.openError(shell, "后台运行", "后台运行传输项失败! 原因: " + t.getMessage());
                  }
View Full Code Here


        final Work work = WorkDialog.this.work;
        if (work != null && work.isBackable()) {
          ThreadUtils.execute(new Runnable(){
            public void run() {
              try {
                work.back();
              } catch (Throwable t) {
                JOptionPane.showMessageDialog(WorkDialog.this, "后台运行传输项失败! 原因: " + t.getMessage(), "后台运行", JOptionPane.WARNING_MESSAGE);
              }
            }
          });
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.