Package org.pentaho.reporting.engine.classic.core.modules.gui.commonswing

Examples of org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.ReportProgressDialog$ScreenUpdateRunnable


   */
  public boolean performExport(final MasterReport report)
  {

    // need to connect to the report pane to receive state updates ...
    final ReportProgressDialog progressDialog;
    if ("true".equals(report.getReportConfiguration().getConfigProperty(PROGRESS_DIALOG_ENABLE_KEY, "false")))
    {
      progressDialog = createProgressDialog();
      if (report.getTitle() == null)
      {
        progressDialog.setTitle(getResources().getString("ProgressDialog.EMPTY_TITLE"));
      }
      else
      {
        progressDialog.setTitle(getResources().formatMessage("ProgressDialog.TITLE", report.getTitle()));
      }
    }
    else
    {
      progressDialog = null;
View Full Code Here


      progressBar = null;
    }

    if (progressDialogEnabled)
    {
      progressDialog = new ReportProgressDialog(this);
      final MasterReport reportJob = previewPane.getReportJob();
      if (reportJob == null || reportJob.getTitle() == null)
      {
        progressDialog.setTitle(messages.getString("ProgressDialog.EMPTY_TITLE"));
        progressDialog.setMessage(messages.getString("ProgressDialog.EMPTY_TITLE"));
View Full Code Here

   *
   * @return the progress monitor dialog.
   */
  protected ReportProgressDialog createProgressDialog()
  {
    final ReportProgressDialog progressDialog = super.createProgressDialog();
    progressDialog.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
    progressDialog.setMessage(resources.getString("excel-export.progressdialog.message")); //$NON-NLS-1$
    progressDialog.pack();
    SwingUtil.positionFrameRandomly(progressDialog);
    return progressDialog;
  }
View Full Code Here

    {
      // user canceled the dialog ...
      return false;
    }

    final ReportProgressDialog progressDialog;
    if (isProgressDialogEnabled(report,
        "org.pentaho.reporting.engine.classic.core.modules.gui.xls.XSSFProgressDialogEnabled"))
    {
      progressDialog = createProgressDialog();
      if (report.getTitle() == null)
      {
        progressDialog.setTitle(getResources().getString("ProgressDialog.EMPTY_TITLE"));
      }
      else
      {
        progressDialog.setTitle(getResources().formatMessage("ProgressDialog.TITLE", report.getTitle()));
      }
    }
    else
    {
      progressDialog = null;
View Full Code Here

   *
   * @return the progress monitor dialog.
   */
  protected ReportProgressDialog createProgressDialog()
  {
    final ReportProgressDialog progressDialog = super.createProgressDialog();
    progressDialog.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
    progressDialog.setMessage(resources.getString("html-export.progressdialog.message")); //$NON-NLS-1$
    progressDialog.pack();
    SwingUtil.positionFrameRandomly(progressDialog);
    return progressDialog;
  }
View Full Code Here

    {
      // user canceled the dialog ...
      return false;
    }

    final ReportProgressDialog progressDialog;
    if (isProgressDialogEnabled(report,
        "org.pentaho.reporting.engine.classic.core.modules.gui.html.file.ProgressDialogEnabled"))
    {
      progressDialog = createProgressDialog();
      if (report.getTitle() == null)
      {
        progressDialog.setTitle(getResources().getString("ProgressDialog.EMPTY_TITLE"));
      }
      else
      {
        progressDialog.setTitle(getResources().formatMessage("ProgressDialog.TITLE", report.getTitle()));
      }
    }
    else
    {
      progressDialog = null;
View Full Code Here

   *
   * @return the progress monitor dialog.
   */
  protected ReportProgressDialog createProgressDialog()
  {
    final ReportProgressDialog progressDialog = super.createProgressDialog();
    progressDialog.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
    progressDialog.setMessage(resources.getString("printing-export.progressdialog.message")); //$NON-NLS-1$
    progressDialog.pack();
    SwingUtil.positionFrameRandomly(progressDialog);
    return progressDialog;
  }
View Full Code Here

   * @return true, if the export was successfull, false otherwise.
   */
  public boolean performExport(final MasterReport report)
  {
    // need to connect to the report pane to receive state updates ...
    final ReportProgressDialog progressDialog;
    if ("true".equals(report.getReportConfiguration().getConfigProperty(PrintingPlugin.PROGRESS_DIALOG_ENABLE_KEY,
        "false"))) //$NON-NLS-1$ //$NON-NLS-2$
    {
      progressDialog = createProgressDialog();
      if (report.getTitle() == null)
      {
        progressDialog.setTitle(getResources().getString("ProgressDialog.EMPTY_TITLE"));
      }
      else
      {
        progressDialog.setTitle(getResources().formatMessage("ProgressDialog.TITLE", report.getTitle()));
      }
    }
    else
    {
      progressDialog = null;
View Full Code Here

   *
   * @return the progress monitor dialog.
   */
  protected ReportProgressDialog createProgressDialog()
  {
    final ReportProgressDialog progressDialog = super.createProgressDialog();
    progressDialog.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
    progressDialog.setMessage(resources.getString("pdf-export.progressdialog.message")); //$NON-NLS-1$
    progressDialog.pack();
    SwingUtil.positionFrameRandomly(progressDialog);
    return progressDialog;
  }
View Full Code Here

    {
      // user canceled the dialog ...
      return false;
    }

    final ReportProgressDialog progressDialog;
    if (isProgressDialogEnabled(report,
        "org.pentaho.reporting.engine.classic.core.modules.gui.pdf.ProgressDialogEnabled"))
    {
      progressDialog = createProgressDialog();
      if (report.getTitle() == null)
      {
        progressDialog.setTitle(getResources().getString("ProgressDialog.EMPTY_TITLE"));
      }
      else
      {
        progressDialog.setTitle(getResources().formatMessage("ProgressDialog.TITLE", report.getTitle()));
      }
    }
    else
    {
      progressDialog = null;
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.ReportProgressDialog$ScreenUpdateRunnable

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.