Examples of Messages


Examples of org.pentaho.reporting.libraries.base.util.Messages

    init();
  }

  private void init()
  {
    messages = new Messages(getLocale(), SwingCommonModule.BUNDLE_NAME,
        ObjectUtilities.getClassLoader(SwingCommonModule.class));
    setModal(true);
    detailsAction = new DetailsAction();

    messageLabel = new JLabel();
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.util.Messages

    {
      defaultDialog = new ExceptionDialog();
    }
    if (e != null)
    {
      final Messages messages = new Messages(Locale.getDefault(), SwingCommonModule.BUNDLE_NAME,
        ObjectUtilities.getClassLoader(SwingCommonModule.class));
      logger.error(messages.getErrorString("ExceptionDialog.ERROR_0001_USER_ERROR"), e); //$NON-NLS-1$
    }
    defaultDialog.setTitle(title);
    defaultDialog.setMessage(message);
    defaultDialog.setException(e);
    defaultDialog.adjustSize();
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.util.Messages

   * Initializes the dialog (Non-GUI stuff).
   */
  private void initConstructor()
  {
    updateRunnable = new ScreenUpdateRunnable();
    messages = new Messages(getLocale(), SwingCommonModule.BUNDLE_NAME,
          ObjectUtilities.getClassLoader(SwingCommonModule.class));
    initialize();
    addWindowListener(new ToFrontHandler());

    setOutputText(messages.getString("progress-dialog.perform-output")); //$NON-NLS-1$
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.util.Messages

    this(true);
  }

  public PreviewPane(final boolean init)
  {
    messages = new Messages(getLocale(), SwingPreviewModule.BUNDLE_NAME,
        ObjectUtilities.getClassLoader(SwingPreviewModule.class));
    sizeLimiter = new WindowSizeLimiter();
    zoomActions = new HashMap();

    this.menus = PreviewPane.EMPTY_MENU;
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.util.Messages

    this.progressDialog = dialog;
    this.report = report;
    if (swingGuiContext != null)
    {
      this.statusListener = swingGuiContext.getStatusListener();
      this.messages = new Messages(swingGuiContext.getLocale(), ExcelExportPlugin.BASE_RESOURCE_CLASS,
          ObjectUtilities.getClassLoader(ExcelExportPlugin.class));
    }
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.util.Messages

    try
    {
      if (swingGuiContext != null)
      {
        this.statusListener = swingGuiContext.getStatusListener();
        this.messages = new Messages(swingGuiContext.getLocale(), HtmlExportGUIModule.BASE_RESOURCE_CLASS,
            ObjectUtilities.getClassLoader(HtmlExportGUIModule.class));
      }
      else
      {
        this.messages = new Messages(Locale.getDefault(), HtmlExportGUIModule.BASE_RESOURCE_CLASS,
            ObjectUtilities.getClassLoader(HtmlExportGUIModule.class));
      }

      final File targetFile = new File(targetFileName).getCanonicalFile();
      targetDirectory = targetFile.getParentFile();
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.util.Messages

    this.report = report;
    this.fileName = filename;
    if (swingGuiContext != null)
    {
      this.statusListener = swingGuiContext.getStatusListener();
      this.messages = new Messages(swingGuiContext.getLocale(), CSVTableExportPlugin.BASE_RESOURCE_CLASS,
          ObjectUtilities.getClassLoader(CSVTableExportPlugin.class));
    }
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.util.Messages

    this.progressDialog = dialog;
    this.report = report;
    if (swingGuiContext != null)
    {
      this.statusListener = swingGuiContext.getStatusListener();
      this.messages = new Messages(swingGuiContext.getLocale(), ExcelExportPlugin.BASE_RESOURCE_CLASS,
          ObjectUtilities.getClassLoader(ExcelExportPlugin.class));
    }
  }
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.util.Messages

   * Initialise the dialog.
   */
  private void init()
  {
    setTitle(getResources().getString("plain-text-exportdialog.dialogtitle")); //$NON-NLS-1$
    messages = new Messages(Locale.getDefault(), PlainTextExportGUIModule.BUNDLE_NAME,
        ObjectUtilities.getClassLoader(PlainTextExportGUIModule.class));
    epson9Printers = loadEpson9Printers();
    epson24Printers = loadEpson24Printers();

    cbEpson9PrinterType = new JComboBox(epson9Printers);
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.util.Messages

    }

    if (swingGuiContext != null)
    {
      this.statusListener = swingGuiContext.getStatusListener();
      this.messages = new Messages(swingGuiContext.getLocale(), RTFExportPlugin.BASE_RESOURCE_CLASS,
          ObjectUtilities.getClassLoader(RTFExportPlugin.class));
    }
    else
    {
      this.messages = new Messages(Locale.getDefault(), RTFExportPlugin.BASE_RESOURCE_CLASS,
          ObjectUtilities.getClassLoader(RTFExportPlugin.class));
    }

    final String filename = report.getConfiguration().getConfigProperty
        ("org.pentaho.reporting.engine.classic.core.modules.gui.rtf.FileName"); //$NON-NLS-1$
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.