Package org.gudy.azureus2.ui.swt.shells

Examples of org.gudy.azureus2.ui.swt.shells.SpeedScaleShell.open()


                          SWT.ICON_ERROR | SWT.OK,
                          MessageText.getString( "ConfigView.section.security.op.error.title" ),
                          MessageText.getString( "ConfigView.section.security.op.error",
                              new String[]{ getError(e) }));
                      mb.setParent(parent.getShell());
                      mb.open(null);
                    }
                  }
                }
            });
       
View Full Code Here


                        MessageBoxShell mb = new MessageBoxShell(
                            SWT.ICON_INFORMATION | SWT.OK,
                            MessageText.getString( "ConfigView.section.security.restart.title" ),
                            MessageText.getString( "ConfigView.section.security.restart.msg" ));
                        mb.setParent(parent.getShell());
                        mb.open(null);
 
                       
                        UIFunctionsSWT uiFunctions = UIFunctionsManagerSWT.getUIFunctionsSWT();
                       
                          if ( uiFunctions != null ){
View Full Code Here

                        SWT.ICON_ERROR | SWT.OK,
                        MessageText.getString( "ConfigView.section.security.op.error.title" ),
                        MessageText.getString( "ConfigView.section.security.op.error",
                            new String[]{ getError( e )}));
                      mb.setParent(parent.getShell());
                      mb.open(null);
                    }
                  }
                }
            });
       
View Full Code Here

            }));
    mb.setDefaultButtonUsingStyle(SWT.OK);
    mb.setRememberOnlyIfButton(0);
    mb.setRemember("FilesView.messagebox.rename.id", true, null);
    mb.setLeftImage(SWT.ICON_WARNING);
    mb.open(null);
    return mb.waitUntilClosed() == SWT.OK;
  }

  // same code is used in tableitems.files.NameItem
  private static void moveFile(final DownloadManager manager,
View Full Code Here

                    }));
            mb.setDefaultButtonUsingStyle(SWT.OK);
            mb.setRememberOnlyIfButton(0);
            mb.setRemember("FilesView.messagebox.delete.id", false, null);
            mb.setLeftImage(SWT.ICON_WARNING);
            mb.open(null);

            boolean wants_to_delete = mb.waitUntilClosed() == SWT.OK;

            if ( wants_to_delete ){
             
View Full Code Here

                }
                if (!hasUpdates) {
                  MessageBoxShell mb = new MessageBoxShell(
                      SWT.ICON_INFORMATION | SWT.OK,
                      "window.update.noupdates", (String[]) null);
                  mb.open(null);
                }
              }
            });
      }
    });
View Full Code Here

      MessageBoxShell mb = new MessageBoxShell(SWT.YES | SWT.NO
          | SWT.ICON_QUESTION, "OpenTorrentWindow.mb.askCreateDir",
          new String[] {
            file.toString()
          });
      mb.open(null);
      int doCreate = mb.waitUntilClosed();

      if (doCreate == SWT.YES)
        isPathInvalid = !FileUtil.mkdirs(file);
      else {
View Full Code Here

    if (isPathInvalid) {
      MessageBoxShell mb = new MessageBoxShell(SWT.OK | SWT.ICON_ERROR,
          "OpenTorrentWindow.mb.noGlobalDestDir", new String[] {
            file.toString()
          });
      mb.open(null);
      cmbDataDir.setFocus();
      return;
    }

    String sExistingFiles = "";
View Full Code Here

        MessageBoxShell mb = new MessageBoxShell(SWT.OK | SWT.ICON_ERROR,
            "OpenTorrentWindow.mb.noDestDir", new String[] {
              file.toString(),
              info.getTorrentName()
            });
        mb.open(null);
        return;
      }

      if (!info.isValid) {
        MessageBoxShell mb = new MessageBoxShell(SWT.OK | SWT.ICON_ERROR,
View Full Code Here

      if (!info.isValid) {
        MessageBoxShell mb = new MessageBoxShell(SWT.OK | SWT.ICON_ERROR,
            "OpenTorrentWindow.mb.notValid", new String[] {
              info.getTorrentName()
            });
        mb.open(null);
        return;
      }

      TorrentFileInfo[] files = info.getFiles();
      for (int j = 0; j < files.length; j++) {
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.