Examples of ImportFileDialog


Examples of jSimMacs.display.dialog.ImportFileDialog

      }
    } else if (es == importFile) {
      if (selectedNode instanceof RemoteProjectMutuableTreeNode) {
        RemoteProjectMutuableTreeNode rNode = (RemoteProjectMutuableTreeNode) selectedNode;
        RemoteProject rProject = rNode.getRemoteProject();
        ImportFileDialog importDialog = new ImportFileDialog(rNode
            .getPathString(), rProject);
        importDialog.pack();
        importDialog.setSize(500, 350);
        // importDialog.setLocationRelativeTo(this);
        importDialog.setVisible(true);
      } else if (selectedNode instanceof ProjectEntryMutuableTreeNode) {
        ProjectEntryMutuableTreeNode node = (ProjectEntryMutuableTreeNode) selectedNode;

        ImportFileDialog importDialog = new ImportFileDialog(node
            .getPathString(), node.getProject());
        importDialog.pack();
        importDialog.setSize(500, 350);
        importDialog.setVisible(true);
      }
      if (selectedNode instanceof JSimMutuableTreeNode) {
        if(selectedNode.isLeaf()){
          selectedNode = (DefaultMutableTreeNode)selectedNode.getParent();
        }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.plugins.dataimport.gui.ImportFileDialog

            return;
          }
        }


        final ImportFileDialog importFileDialog = new ImportFileDialog(session, importer, table, columns);

        importFileDialog.setPreviewData(importer.getPreview(10));

        GUIUtils.processOnSwingEventThread(new Runnable() {
          public void run() {
            session.getApplication().getMainFrame().addWidget(importFileDialog);
            importFileDialog.moveToFront();
            DialogWidget.centerWithinDesktop(importFileDialog);
            importFileDialog.setVisible(true);
          }
        }, true);

      } catch (SQLException e) {
        s_log.error("execute: unexpected exception - "+e.getMessage(), e);
View Full Code Here

Examples of org.twodividedbyzero.idea.findbugs.gui.common.ImportFileDialog

    dialogBuilder.setTitle("Import previous saved bug collection xml");

    final FindBugsPreferences preferences = getPluginInterface(project).getPreferences();
    final String exportDir = preferences.getProperty(FindBugsPreferences.EXPORT_BASE_DIR, FindBugsPluginConstants.DEFAULT_EXPORT_DIR) + File.separatorChar + project.getName();

    final ImportFileDialog importFileDialog = new ImportFileDialog(exportDir, dialogBuilder);
    dialogBuilder.showModal(true);
    if (dialogBuilder.getDialogWrapper().getExitCode() == DialogWrapper.CANCEL_EXIT_CODE) {
      return;
    }
    final String fileToImport = importFileDialog.getText();
    if (fileToImport == null || fileToImport.trim().isEmpty()) {
      return;
    }

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.