Package org.rssowl.ui.internal.dialogs

Examples of org.rssowl.ui.internal.dialogs.ActivityDialog


  }

  private void asyncOpenActivityDialog(final Shell shell) {
    shell.getDisplay().asyncExec(new Runnable() {
      public void run() {
        ActivityDialog instance = ActivityDialog.getVisibleInstance();
        if (instance == null) {
          ActivityDialog dialog = new ActivityDialog(shell);
          dialog.setBlockOnOpen(false);
          dialog.open();
        } else {
          instance.getShell().forceActive();
        }
      }
    });
View Full Code Here


  }

  private void asyncOpenActivityDialog(final Shell shell) {
    shell.getDisplay().asyncExec(new Runnable() {
      public void run() {
        ActivityDialog instance = ActivityDialog.getVisibleInstance();
        if (instance == null) {
          ActivityDialog dialog = new ActivityDialog(shell);
          dialog.setBlockOnOpen(false);
          dialog.open();
        } else {
          instance.getShell().forceActive();
        }
      }
    });
View Full Code Here

  /*
   * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
   */
  public void run(IAction action) {
    ActivityDialog instance = ActivityDialog.getVisibleInstance();
    if (instance == null) {
      ActivityDialog dialog = new ActivityDialog(fShellProvider.getShell());
      dialog.setBlockOnOpen(false);
      dialog.open();
    } else {
      instance.getShell().forceActive();
    }
  }
View Full Code Here

TOP

Related Classes of org.rssowl.ui.internal.dialogs.ActivityDialog

Copyright © 2018 www.massapicom. 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.