Bug 117453 Property Editor for chart report item: deferred
Property Editor for chart report item(BPS16): deferred
chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemFactoryImpl.java
* (non-Javadoc)
     * 
     * @see org.eclipse.birt.report.model.extension.IMessages#getMessage(java.lang.String, java.util.Locale)
     */
    public String getMessage(String key, Locale locale)
    {
        
        
        
        final StringBuffer sb = new StringBuffer(key);
        final int iFirstDot = sb.indexOf("."); 
        if (iFirstDot == -1)
            return key + "_value"; 
        sb.delete(0, iFirstDot + 1);
        int i = 0, iDot;
        char c = sb.charAt(0);
        sb.setCharAt(0, Character.toUpperCase(c));
        do
        {
            iDot = sb.indexOf(".", i); 
            if (iDot >= 0 && iDot < sb.length() - 1)
            {
                sb.setCharAt(iDot, ' ');
                i = iDot + 1;
            }
        }
        while (i < sb.length() && iDot != -1);
        return sb.toString();
    }
}