Package org.pentaho.reporting.libraries.base.util

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


    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

    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

   * 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

    }

    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

      this.progressDialog = dialog;
      this.report = report;
      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 Configuration config = report.getConfiguration();
      final String targetFileName = config.getConfigProperty
View Full Code Here

    this.progressDialog = dialog;
    this.report = report;
    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));
    }

    targetFile = new File(targetFileName);
View Full Code Here

                                   final String resourceKey)
  {
    this.target = target;
    this.resourceBundleName = resourceBundleName;
    this.resourceKey = resourceKey;
    this.messages = new Messages(target.getLocale(), SwingCommonModule.BUNDLE_NAME,
          ObjectUtilities.getClassLoader(SwingCommonModule.class));
  }
View Full Code Here

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

   * @param locale
   */
  public EncodingComboBoxModel(final Locale locale)
  {
    bundle = ResourceBundle.getBundle(EncodingComboBoxModel.BUNDLE_NAME, locale);
    messages = new Messages(locale, SwingCommonModule.BUNDLE_NAME,
          ObjectUtilities.getClassLoader(SwingCommonModule.class));
    ENCODING_DEFAULT_DESCRIPTION = messages.getString(
        "EncodingComboBoxModel.USER_ENCODING_DEFAULT_DESCRIPTION"); //$NON-NLS-1$
    encodings = new ArrayList();
    listDataListeners = null;
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.base.util.Messages

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.