Package org.eobjects.datacleaner.windows

Examples of org.eobjects.datacleaner.windows.OpenAnalysisJobAsTemplateDialog


      AnalysisJobMetadata metadata = reader.readMetadata(file);
      int result = JOptionPane.showConfirmDialog(null, e.getMessage()
          + "\n\nDo you wish to open this job as a template?", "Error: " + e.getMessage(),
          JOptionPane.OK_CANCEL_OPTION, JOptionPane.ERROR_MESSAGE);
      if (result == JOptionPane.OK_OPTION) {
        OpenAnalysisJobAsTemplateDialog dialog = new OpenAnalysisJobAsTemplateDialog(_windowContext, _configuration,
            file, metadata, _openAnalysisJobActionListenerProvider);
        dialog.setVisible(true);
      }
    }
  }
View Full Code Here


    openAsTemplateButton
        .setToolTipText("Allows you to open the job with a different datastore and different source columns.");
    openAsTemplateButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        OpenAnalysisJobAsTemplateDialog dialog = new OpenAnalysisJobAsTemplateDialog(_windowContext, _configuration,
            _file, _metadata, _openAnalysisJobActionListenerProvider);
        _fileChooser.cancelSelection();
        dialog.setVisible(true);
      }
    });
    return openAsTemplateButton;
  }
View Full Code Here

TOP

Related Classes of org.eobjects.datacleaner.windows.OpenAnalysisJobAsTemplateDialog

Copyright © 2018 www.massapicom. 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.