* Label provider for chart types.
*/
public class ChartTypeLabelProvider extends LabelProvider {
// Javadoc inherited
public String getText(Object o) {
ChartType chartType = (ChartType) o;
String chartTypeName =
chartType.toString().replaceAll(" ", "");
return EditorMessages.getString(
"ChartType." + StringUtils.toLowerIgnoreLocale(chartTypeName) +
".label");
}