Examples of prompt()


Examples of org.dcm4che3.data.VR.prompt()

            return;
        }
        int tag = dis.tag();
        byte[] b = dis.readValue();
        line.append(" [");
        if (vr.prompt(b, dis.bigEndian(),
                attrs.getSpecificCharacterSet(),
                width - line.length() - 1, line)) {
            line.append(']');
            appendKeyword(dis, line);
        }
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.UIInputReceiver.prompt()

         
          prompter.setLocalisedTitle( lu.getLocalisedMessageText( "azbuddy.ui.menu.send" ));
          prompter.setLocalisedMessage( lu.getLocalisedMessageText( "azbuddy.ui.menu.send_msg" ) );
         
          try{
            prompter.prompt(new UIInputReceiverListener() {
              public void UIInputReceiverClosed(UIInputReceiver prompter) {
                String text = prompter.getSubmittedInput();
               
                if ( text != null ){
                 
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.UIInputReceiver.prompt()

          UIInputReceiver prompter = ui_instance.getInputReceiver();
         
          prompter.setLocalisedTitle( lu.getLocalisedMessageText( "azbuddy.ui.menu.cat.set" ));
          prompter.setLocalisedMessage( lu.getLocalisedMessageText( "azbuddy.ui.menu.cat.set_msg" ));
         
          prompter.prompt(new UIInputReceiverListener() {
            public void UIInputReceiverClosed(UIInputReceiver prompter) {
              String cats = prompter.getSubmittedInput();
             
              if ( cats != null ){
               
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.SimpleTextEntryWindow.prompt()

              MessageText.getString(up_menu
                  ? "MyTorrentsView.dialog.setNumber.upload"
                  : "MyTorrentsView.dialog.setNumber.download")
            });

        entryWindow.prompt(new UIInputReceiverListener() {
          public void UIInputReceiverClosed(UIInputReceiver entryWindow) {
            if (!entryWindow.hasSubmittedInput()) {
              return;
            }
            String sReturn = entryWindow.getSubmittedInput();
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.SimpleTextEntryWindow.prompt()

  private static void changePriorityManual(final Object[] datasources) {

    SimpleTextEntryWindow entryWindow = new SimpleTextEntryWindow(
        "FilesView.dialog.priority.title",
        "FilesView.dialog.priority.text");
    entryWindow.prompt(new UIInputReceiverListener() {
      public void UIInputReceiverClosed(UIInputReceiver entryWindow) {
        if (!entryWindow.hasSubmittedInput()) {
          return;
        }
        String sReturn = entryWindow.getSubmittedInput();
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.SimpleTextEntryWindow.prompt()

  private static String askForRenameFilename(DiskManagerFileInfo fileInfo) {
    SimpleTextEntryWindow dialog = new SimpleTextEntryWindow(
        "FilesView.rename.filename.title", "FilesView.rename.filename.text");
    dialog.setPreenteredText(fileInfo.getFile(true).getName(), false); // false -> it's not "suggested", it's a previous value
    dialog.allowEmptyInput(false);
    dialog.prompt();
    if (!dialog.hasSubmittedInput()) {
      return null;
    }
    return dialog.getSubmittedInput();
  }
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.SimpleTextEntryWindow.prompt()

        new String[] {
            kbps_str,
            set_num_str
        });

    entryWindow.prompt();
    if (!entryWindow.hasSubmittedInput()) {
      return -1;
    }
    String sReturn = entryWindow.getSubmittedInput();
   
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.SimpleTextEntryWindow.prompt()

      menuItem = menuManager.addMenuItem(parent, "URL..");
      menuItem.addListener(new MenuItemListener() {
        public void selected(MenuItem menu, Object target) {
          SimpleTextEntryWindow entryWindow = new SimpleTextEntryWindow("", "!URL!");
          entryWindow.prompt(new UIInputReceiverListener() {
            public void UIInputReceiverClosed(UIInputReceiver entryWindow) {
              if (entryWindow.hasSubmittedInput()) {
                browserSkinObject.setURL(entryWindow.getSubmittedInput());
              }
            }
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.SimpleTextEntryWindow.prompt()

            String msg_key_prefix = "MyTorrentsView.menu.rename.displayed.enter.";

            SimpleTextEntryWindow entryWindow = new SimpleTextEntryWindow(
                msg_key_prefix + "title", msg_key_prefix + "message");
            entryWindow.setPreenteredText(dm.getDisplayName(), false);
            entryWindow.prompt(new UIInputReceiverListener() {
              public void UIInputReceiverClosed(UIInputReceiver entryWindow) {
                if (!entryWindow.hasSubmittedInput()) {
                  return;
                }
                String value = entryWindow.getSubmittedInput();
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.SimpleTextEntryWindow.prompt()

    MainWindow.doSearch(searchText);
  }
 
  public void promptForSearch() {
    SimpleTextEntryWindow entryWindow = new SimpleTextEntryWindow("Button.search", "search.dialog.text");
    entryWindow.prompt(new UIInputReceiverListener() {
      public void UIInputReceiverClosed(UIInputReceiver receiver) {
        if (receiver.hasSubmittedInput()) {
          doSearch(receiver.getSubmittedInput());
        }
      }
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.