Examples of showData()


Examples of org.pentaho.reporting.libraries.designtime.swing.background.DataPreviewDialog.showData()

        final ScriptableDataFactory dataFactory = produceFactory();
        DataFactoryEditorSupport.configureDataFactoryForPreview(dataFactory, designTimeContext);
        final DataPreviewDialog previewDialog = new DataPreviewDialog(ScriptableDataSourceEditor.this);

        final ScriptablePreviewWorker worker = new ScriptablePreviewWorker(dataFactory, queryNameTextField.getText());
        previewDialog.showData(worker);

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

Examples of org.pentaho.reporting.libraries.designtime.swing.background.DataPreviewDialog.showData()

        final DataPreviewDialog previewDialog = new DataPreviewDialog(XPathDataSourceEditor.this);
        final XPathDataFactory dataFactory = produceFactory();
        DataFactoryEditorSupport.configureDataFactoryForPreview(dataFactory, designTimeContext);

        final XPathPreviewWorker worker = new XPathPreviewWorker(dataFactory, query);
        previewDialog.showData(worker);

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

Examples of org.pentaho.reporting.libraries.designtime.swing.background.DataPreviewDialog.showData()

        DataFactoryEditorSupport.configureDataFactoryForPreview(dataFactory, context);

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

        final OpenERPPreviewWorker worker = new OpenERPPreviewWorker(dataFactory, txtQueryName.getText());
        previewDialog.showData(worker);

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

Examples of org.pentaho.reporting.libraries.designtime.swing.background.DataPreviewDialog.showData()

    {
      try
      {
        final String query = getQuery();
        final DataPreviewDialog dialog = new DataPreviewDialog(JdbcQueryDesignerDialog.this);
        dialog.showData(new JdbcPreviewWorker(new SimpleSQLReportDataFactory(getConnectionDefinition()), query, 0, 0));
      }
      catch (Exception e)
      {
        log.warn("QueryPanel.actionPerformed ", e);
        if (designTimeContext != null)
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.background.DataPreviewDialog.showData()

        final PmdDataFactory dataFactory = createDataFactory();
        DataFactoryEditorSupport.configureDataFactoryForPreview(dataFactory, context);

        final PmdPreviewWorker worker = new PmdPreviewWorker(dataFactory, query, 0, theMaxRows);
        previewDialog.showData(worker);

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

Examples of org.pentaho.reporting.libraries.designtime.swing.background.DataPreviewDialog.showData()

      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

Examples of org.pentaho.reporting.libraries.designtime.swing.background.DataPreviewDialog.showData()

          maxRows = 0;
        }
        final SQLReportDataFactory dataFactory = createDataFactory(connectionDefinition);
        DataFactoryEditorSupport.configureDataFactoryForPreview(dataFactory, designTimeContext);
        final JdbcPreviewWorker previewWorker = new JdbcPreviewWorker(dataFactory, query, 0, maxRows);
        dialog.showData(previewWorker);

        final ReportDataFactoryException theException = previewWorker.getException();
        if (theException != null)
        {
          ExceptionDialog.showExceptionDialog(JdbcDataSourceDialog.this,
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.background.DataPreviewDialog.showData()

        DataFactoryEditorSupport.configureDataFactoryForPreview(dataFactory, designTimeContext);

        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,
View Full Code Here

Examples of org.pentaho.reporting.libraries.designtime.swing.background.DataPreviewDialog.showData()

        {
          return;
        }
        final DataPreviewDialog previewDialog = new DataPreviewDialog(SequenceDataSourceEditor.this);
        final SequencePreviewWorker worker = new SequencePreviewWorker(query, designTimeContext);
        previewDialog.showData(worker);

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

Examples of org.pentaho.reporting.libraries.designtime.swing.background.DataPreviewDialog.showData()

        DataFactoryEditorSupport.configureDataFactoryForPreview(dataFactory, designTimeContext);

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

        final KettlePreviewWorker worker = new KettlePreviewWorker(dataFactory, kettleQueryEntry.getName());
        previewDialog.showData(worker);

        final ReportDataFactoryException factoryException = worker.getException();
        if (factoryException != null)
        {
          ExceptionDialog.showExceptionDialog(KettleDataSourceDialog.this,
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.