Examples of showDialog()


Examples of com.cedarsoft.spring.rcp.dialog.ExtendedConfirmationDialog.showDialog()

      protected void onNo() {
        confirmed[0] = false;
      }
    };

    dlg.showDialog();

    if ( confirmed[0] == null ) {
      throw new CanceledException();
    } else {
      return confirmed[0];
View Full Code Here

Examples of com.hexidec.ekit.component.ImageFileChooser.showDialog()

    ImageFileChooser jImageDialog = new ImageFileChooser(imageDir);
    jImageDialog.setDialogType(JFileChooser.CUSTOM_DIALOG);
    jImageDialog.setFileFilter(new MutableFilter(imageExts, imageDesc));
    jImageDialog.setDialogTitle(Translatrix.getTranslationString("ImageDialogTitle"));
    int optionSelected = JFileChooser.CANCEL_OPTION;
    optionSelected = jImageDialog.showDialog(this, Translatrix.getTranslationString("Insert"));
    if(optionSelected == JFileChooser.APPROVE_OPTION)
    {
      return jImageDialog.getSelectedFile();
    }
    return (File)null;
View Full Code Here

Examples of com.intellij.ide.util.TreeClassChooser.showDialog()

                PsiClass psiClass = getDefaultClass(project);

                TreeClassChooser chooser = TreeClassChooserFactory.getInstance(project).createInheritanceClassChooser(
                        "Choose Class to extend", WicketSearchScope.classInModuleWithDependenciesAndLibraries(module), psiClass, null);

                chooser.showDialog();
                PsiClass aClass = chooser.getSelected();
                if (aClass != null) {
                    extendClassEditor.setText(aClass.getQualifiedName());
                }
            }
View Full Code Here

Examples of com.intellij.ide.util.TreeFileChooser.showDialog()

            public boolean accept(PsiFile file) {
              return true;
            }
          });

        fileChooser.showDialog();

        PsiFile selectedFile = fileChooser.getSelectedFile();
        if (selectedFile != null) {
          setChosenFile(selectedFile.getVirtualFile());
        }
View Full Code Here

Examples of com.intellij.ide.util.TreeFileChooserDialog.showDialog()

          );
          boolean jstdConfigFilesExists = JstdSettingsUtil.areJstdConfigFilesInProject(project);
          if (jstdConfigFilesExists) {
            fileChooser.selectSearchByNameTab();
          }
          fileChooser.showDialog();
          PsiFile psiFile = fileChooser.getSelectedFile();
          if (psiFile != null) {
            VirtualFile vFile = psiFile.getVirtualFile();
            if (vFile != null) {
              String path = FileUtil.toSystemDependentName(vFile.getPath());
View Full Code Here

Examples of com.intellij.ide.util.TreeJavaClassChooserDialog.showDialog()

    TreeJavaClassChooserDialog dialog =
      new TreeJavaClassChooserDialog(OsmorcBundle.message("facet.editor.select.bundle.activator"),
                                     project, searchScope, new TreeJavaClassChooserDialog.InheritanceJavaClassFilterImpl(
        psiClass, false, true,
        null), null);
    dialog.showDialog();
    PsiClass clazz = dialog.getSelected();
    if (clazz != null) {
      _bundleActivator.setText(clazz.getQualifiedName());
    }
  }
View Full Code Here

Examples of com.jidesoft.swing.FolderChooser.showDialog()

               {
                  chooser = new FolderChooser(DirectoryCache.lastSaveAsDirectory);
               }


               if (chooser.showDialog(HermesBrowser.getBrowser(), "Select directory for messages") == FolderChooser.APPROVE_OPTION)
               {
                  DirectoryCache.lastSaveAsDirectory = chooser.getSelectedFile();

                  for (final Message message : action.getSelectedMessages())
                  {
View Full Code Here

Examples of com.jme3.app.SettingsDialog.showDialog()

            public void run() {
                synchronized (lock) {
                    SettingsDialog dialog = new SettingsDialog(settings, iconUrl, loadFromRegistry);
                    dialog.setSelectionListener(selectionListener);
                    dialog.showDialog();
                }
            }
        });

        synchronized (lock) {
View Full Code Here

Examples of com.l2fprod.common.swing.JDirectoryChooser.showDialog()

  @Override
  public void actionPerformed(ActionEvent arg0) {
    JDirectoryChooser chooser = new JDirectoryChooser();
    chooser.setShowingCreateDirectory(false);

    int choice = chooser.showDialog(parent, "Add Folder");
    if (choice == JFileChooser.APPROVE_OPTION) {
      File folder = chooser.getSelectedFile();

      controller.getLibraryManager().addFolder(folder);
    }
View Full Code Here

Examples of com.l2fprod.common.swing.JTipOfTheDay.showDialog()

          .getResource("TipOfTheDay24.gif"))));

        JTipOfTheDay totd = new JTipOfTheDay(tips);
        totd.setCurrentTip(0);

        totd.showDialog(new JFrame("title"), fake);
      }
    };

    JButton button = new JButton(title);
    button.addActionListener(action);
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.