Examples of AERunnable


Examples of org.gudy.azureus2.core3.util.AERunnable

    }
   
    final trustDialog[]  dialog = new trustDialog[1];
   
    try{
      Utils.execSWTThread(new AERunnable() {
            public void
            runSupport()
            {
              dialog[0] = new trustDialog( display, resource, cert );
            }
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

      return;
    }
   
    try{
      display.asyncExec(
          new AERunnable()
          {
            public void
            runSupport()
            {
               new createDialog( display );
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

    if (logAlert.details != null) {
      text += "\n<A HREF=\"details\">" + MessageText.getString("v3.MainWindow.button.viewdetails") + "</A>";
    }

    Utils.execSWTThread(new AERunnable() {
      public void runSupport() {
        openWindow();
      }
    });
  }
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

  /* (non-Javadoc)
   * @see org.eclipse.ui.IStartup#earlyStartup()
   */
  public void earlyStartup() {
    final Display display = Display.getDefault();
    display.syncExec(new AERunnable() {
      public void runSupport() {
        hookApplicationMenu(display);
      }
    });
  }
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

        InsertMenuItemTextWithCFString(menu, 0, (short) 8,
            kMenuItemAttrSeparator, 0);
      }

      // schedule disposal of callback object
      display.disposeExec(new AERunnable() {
        public void runSupport() {
          try {
            mCallback_dispose.invoke(commandCallback, new Object[] {});
          } catch (Throwable e) {
          }
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

    if (!(widget instanceof Shell)) {
      return eventNotHandledErr;
    }
    final Shell shellAffected = (Shell) widget;

    Utils.execSWTThread(new AERunnable() {
      public void runSupport() {
        int type;
        Long l = (Long) shellAffected.getData("OSX.ToolBarToggle");
        if (l == null || l.longValue() == 0) {
          type = SWT.Collapse;
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

        final Shell shellAffected = (Shell) invoke(Display.class,
            Display.getCurrent(), "findWidget", new Object[] {
              windowId
            });

        Utils.execSWTThread(new AERunnable() {
          public void runSupport() {
            int type;
            Long l = (Long) shellAffected.getData("OSX.ToolBarToggle");
            if (l == null || l.longValue() == 0) {
              type = SWT.Collapse;
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

  private void
  setDefaultButton()
  {
    if (!wizardWindow.isDisposed()){
   
       display.asyncExec(new AERunnable() {
        public void runSupport() {
      
          if (!wizardWindow.isDisposed()){
              Button  default_button = null;
             
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

    return display;
  }

  public void switchToClose() {
    if (!wizardWindow.isDisposed()) {
      display.asyncExec(new AERunnable() {
         public void runSupport() {
          if (closeCatcher != null && wizardWindow != null && !wizardWindow.isDisposed()) {
            wizardWindow.removeListener(SWT.Close, closeCatcher);
            cancel.setText(MessageText.getString("wizard.close"));
            cancel.setEnabled(true);
View Full Code Here

Examples of org.gudy.azureus2.core3.util.AERunnable

    itemRetarget.addListener(SWT.Selection, rename_listener);

    Listener priorityListener = new Listener() {
      public void handleEvent(Event event) {
        final int priority = ((Integer) event.widget.getData("Priority")).intValue();
        Utils.getOffOfSWTThread(new AERunnable() {
          public void runSupport() {
            changePriority(priority, data_sources);
          }
        });
      }
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.