Package org.pentaho.platform.plugin.action.jfreereport.helper

Examples of org.pentaho.platform.plugin.action.jfreereport.helper.PentahoResourceBundleFactory


      applyThreadPriority();

      // this might be invalid in case the action is contained in a sub-directory.
      final String baseName = IOUtils.getInstance().stripFileExtension( getActionName() );
      final String path = getSolutionPath();
      final PentahoResourceBundleFactory bundleFactory =
          new PentahoResourceBundleFactory( path, baseName, getSession() );
      report.setResourceBundleFactory( bundleFactory );
      // set the default resourcebundle. This allows users to override the
      // resource-bundle in case they want to keep common strings in a common
      // collection.
      report.getReportConfiguration().setConfigProperty( ResourceBundleFactory.DEFAULT_RESOURCE_BUNDLE_CONFIG_KEY,
View Full Code Here


    }

    // this might be invalid in case the action is contained in a sub-directory.
    final String baseName = IOUtils.getInstance().stripFileExtension( getActionName() );
    final String path = getSolutionName() + File.separator + getSolutionPath();
    final PentahoResourceBundleFactory bundleFactory = new PentahoResourceBundleFactory( path, baseName, getSession() );
    report.setResourceBundleFactory( bundleFactory );
    // set the default resourcebundle. This allows users to override the
    // resource-bundle in case they want to keep common strings in a common
    // collection.
    report.getReportConfiguration().setConfigProperty( ResourceBundleFactory.DEFAULT_RESOURCE_BUNDLE_CONFIG_KEY,
View Full Code Here

TOP

Related Classes of org.pentaho.platform.plugin.action.jfreereport.helper.PentahoResourceBundleFactory

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.