Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: Bugzilla#188266 - Exception is thrown out when using factory in Chart simple API [0001]

- Summary:
Exception is thrown out when using factory in Chart simple API [0001]

- Bugzilla Bug (s) Resolved:
188266

- Description:
Cause: engine's script engine doesn't wrap factory class and can't use static methods
Fixed by replacing factory class with factory instance to make it resolved in script
Now user could use such method: chart.getFactory().createNumberElement(105) to create data element.

- Tests Description: Unit Test

- Notes to Build Team: N/A

- Notes to Developers: N/A

- Notes to QA: N/A

- Notes to Documentation: N/A

- Files Edited:

/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/api/IChart.java
/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/ChartImpl.java
/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/script/ChartTest.java
/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/script/component/MarkerLineTest.java
/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/script/component/MarkerRangeTest.java



- Files Added:

/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/api/IComponentFactory.java
/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/ChartComponentFactory.java



- Files Deleted

/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/api/ChartComponentFactory.java

 


Back to the top