Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 126078 - [123444] Add ICU4J support to reporting plugin
Summary: [123444] Add ICU4J support to reporting plugin
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Miravete Eric CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 123444
  Show dependency tree
 
Reported: 2006-02-01 14:31 EST by Eugene Chan CLA
Modified: 2016-05-05 11:06 EDT (History)
0 users

See Also:


Attachments
the resulting swt image (18.85 KB, image/jpeg)
2006-02-03 14:35 EST, Sheldon Lee-Loy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Chan CLA 2006-02-01 14:31:14 EST
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
Comment 1 Sheldon Lee-Loy CLA 2006-02-03 14:34:51 EST
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.
Comment 2 Sheldon Lee-Loy CLA 2006-02-03 14:35:47 EST
Created attachment 34114 [details]
the resulting swt image
Comment 3 Sri Doddapaneni CLA 2006-03-02 19:31:57 EST
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).
Comment 4 Dominique Guilbaud CLA 2006-03-30 03:06:25 EST
EM: the swt chart generator supports multi locale provided by the D18N object. The axis number are generated by using ICU4j.
Comment 5 Eugene Chan CLA 2006-11-16 15:27:31 EST
close bug