Examples of ResourceBundleSupport


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

  /**
   * Constructs a new panel.
   */
  public SystemPropertiesPanel()
  {
    final ResourceBundleSupport bundleSupport = new ResourceBundleSupport(Locale.getDefault(),
        SwingPreviewModule.BUNDLE_NAME, ObjectUtilities.getClassLoader(SwingPreviewModule.class));

    setLayout(new BorderLayout());
    this.table = SystemPropertiesPanel.createSystemPropertiesTable();
    add(new JScrollPane(this.table));

    // Add a popup menu to copy to the clipboard...
    this.copyPopupMenu = new JPopupMenu();

    final String label = bundleSupport.getString("system-properties-panel.popup-menu.copy");
    final KeyStroke accelerator = bundleSupport.getKeyStroke("system-properties-panel.popup-menu.copy.accelerator");

    final JMenuItem copyMenuItem = new JMenuItem(label);
    copyMenuItem.setAccelerator(accelerator);
    copyMenuItem.getAccessibleContext().setAccessibleDescription(label);
    copyMenuItem.addActionListener(new CopyAction());
View Full Code Here

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

  /**
   * DefaultConstructor.
   */
  public XSSFExcelExportPlugin()
  {
    resources = new ResourceBundleSupport(Locale.getDefault(), XSSFExcelExportPlugin.BASE_RESOURCE_CLASS,
        ObjectUtilities.getClassLoader(XSSFExcelExportPlugin.class));
  }
View Full Code Here

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

  /**
   * DefaultConstructor.
   */
  public HtmlDirExportPlugin()
  {
    resources = new ResourceBundleSupport(Locale.getDefault(), HtmlExportGUIModule.BASE_RESOURCE_CLASS,
            ObjectUtilities.getClassLoader(HtmlExportGUIModule.class));
  }
View Full Code Here

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

  /**
   * DefaultConstructor.
   */
  public PrintingPlugin()
  {
    resources = new ResourceBundleSupport(Locale.getDefault(), PrintingPlugin.BASE_RESOURCE_CLASS,
          ObjectUtilities.getClassLoader(PrintingPlugin.class));
  }
View Full Code Here

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

    if (this.context != context)
    {
      this.context = context;
      this.iconTheme = context.getIconTheme();
      this.configuration = new ExtendedConfigurationWrapper(context.getConfiguration());
      this.baseResources = new ResourceBundleSupport
          (context.getLocale(), SwingCommonModule.BUNDLE_NAME, ObjectUtilities.getClassLoader(SwingCommonModule.class));
    }
    return true;
  }
View Full Code Here

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

  /**
   * DefaultConstructor.
   */
  public PdfExportPlugin()
  {
    resources = new ResourceBundleSupport(Locale.getDefault(), PdfExportPlugin.BASE_RESOURCE_CLASS,
          ObjectUtilities.getClassLoader(PdfExportPlugin.class));
  }
View Full Code Here

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

  /**
   * DefaultConstructor.
   */
  public HtmlStreamExportPlugin()
  {
    resources = new ResourceBundleSupport(Locale.getDefault(), HtmlExportGUIModule.BASE_RESOURCE_CLASS,
            ObjectUtilities.getClassLoader(HtmlExportGUIModule.class));
  }
View Full Code Here

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

  /**
   * DefaultConstructor.
   */
  public ExcelExportPlugin()
  {
    resources = new ResourceBundleSupport(Locale.getDefault(), ExcelExportPlugin.BASE_RESOURCE_CLASS,
        ObjectUtilities.getClassLoader(ExcelExportPlugin.class));
  }
View Full Code Here

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

  /**
   * DefaultConstructor.
   */
  public RTFExportPlugin()
  {
    resources = new ResourceBundleSupport(Locale.getDefault(), RTFExportPlugin.BASE_RESOURCE_CLASS,
          ObjectUtilities.getClassLoader(RTFExportPlugin.class));
  }
View Full Code Here

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

  /**
   * Default Constructor.
   */
  public PageSetupPlugin()
  {
    resources = new ResourceBundleSupport(Locale.getDefault(), PrintingPlugin.BASE_RESOURCE_CLASS,
          ObjectUtilities.getClassLoader(PrintingPlugin.class));
    reportJobListener = new ReportJobListener();
  }
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.