Community
Participate
Working Groups
please see bug 123444 for detail. The following plugins need update to support ICU4J org.eclipse.tptp.platform.report.core org.eclipse.tptp.platform.report.ui
Eric, I made the necessary ICU4J modifications to org.eclipse.tptp.platform.report.core org.eclipse.tptp.platform.report.ui However, I notice a problem in the SWT renderer. It seems the locale that I pass in the runtime context for the chart generator is not being evaluated by the SWT renderer. In order to reproduce the problem. Checkout the following CVS module: test-results/platform/org.eclipse.tptp.platform.report.tests Run the org.eclipse.tptp.platform.report.chart.svg.internal.test.SVGImageTest program. Note that you should run this as a "SWT Application". This program will generate static images under the org.eclipse.tptp.platform.report.tests\testcases\images\svg directory. Look at the org.eclipse.tptp.platform.report.tests\testcases\images\svg\swt_resourceBundle00.jpg Notice that the extenalized strings are not resolved. Also notice that the number format does not look right. This example should format the number with a comma instead of a decimal since I am using a german locale.
Created attachment 34114 [details] the resulting swt image
Retargeting to I2. I1 is almost done and closed for feature work. Also converting from enhancement to defect as this is covered under top-level enhancement (bug # 123444).
EM: the swt chart generator supports multi locale provided by the D18N object. The axis number are generated by using ICU4j.
close bug