Package org.pentaho.reporting.libraries.designtime.swing.background

Examples of org.pentaho.reporting.libraries.designtime.swing.background.DataPreviewDialog$CloseAction


    public void actionPerformed(final ActionEvent aEvt)
    {
      try
      {
        final String query = queryTextArea.getText();
        final DataPreviewDialog previewDialog = new DataPreviewDialog(ReflectionDataSourceEditor.this);
        final ReflectionPreviewWorker worker = new ReflectionPreviewWorker(query);
        previewDialog.showData(worker);

        final ReportDataFactoryException factoryException = worker.getException();
        if (factoryException != null)
        {
          ExceptionDialog.showExceptionDialog(ReflectionDataSourceEditor.this,
View Full Code Here


        }
        dataFactory.initialize(configuration,
            report.getResourceManager(), contentBase, MasterReport.computeAndInitResourceBundleFactory
                (report.getResourceBundleFactory(), reportEnvironment));

        final DataPreviewDialog previewDialog = new DataPreviewDialog(CdaDataSourceEditor.this);

        final CdaPreviewWorker worker = new CdaPreviewWorker(dataFactory, queriesTableModel.getName(selectedRow));
        previewDialog.showData(worker);

        final ReportDataFactoryException factoryException = worker.getException();
        if (factoryException != null)
        {
          ExceptionDialog.showExceptionDialog(CdaDataSourceEditor.this, "Error",
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.designtime.swing.background.DataPreviewDialog$CloseAction

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.