Package org.pentaho.reporting.designer.core.editor.parameters

Examples of org.pentaho.reporting.designer.core.editor.parameters.SubReportDataSourceDialog


      {
        UncaughtExceptionsModel.getInstance().addException(e);
      }

      // Prompt user to either create or use an existing data-source.
      final SubReportDataSourceDialog subreportDataSourceDialog;
      if (window instanceof Dialog)
      {
        subreportDataSourceDialog = new SubReportDataSourceDialog((Dialog) window);
      }
      else if (window instanceof Frame)
      {
        subreportDataSourceDialog = new SubReportDataSourceDialog((Frame) window);
      }
      else
      {
        subreportDataSourceDialog = new SubReportDataSourceDialog();
      }

      final String queryName = subreportDataSourceDialog.performSelection(designerContext);
      if (queryName != null)
      {
        subReport.setQuery(queryName);
      }
View Full Code Here


        UncaughtExceptionsModel.getInstance().addException(e);
      }


      // Prompt user to either create or use an existing data-source.
      final SubReportDataSourceDialog crosstabDataSourceDialog;
      if (window instanceof Dialog)
      {
        crosstabDataSourceDialog = new SubReportDataSourceDialog((Dialog) window);
      }
      else if (window instanceof Frame)
      {
        crosstabDataSourceDialog = new SubReportDataSourceDialog((Frame) window);
      }
      else
      {
        crosstabDataSourceDialog = new SubReportDataSourceDialog();
      }

      // User has prompted to select a data-source.  Get the selected query
      final String queryName = crosstabDataSourceDialog.performSelection(designerContext);
      if (queryName != null)
      {
        subReport.setQuery(queryName);

        // Invoke Crosstab dialog
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.editor.parameters.SubReportDataSourceDialog

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.