| Summary: | revoke deprecated chart events | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Erdal Karaca <erdal.karaca.de> | ||||
| Component: | BIRT | Assignee: | Yulin Wang <Lionel.wyl> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Maggie Shen <lshen> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | bluesoldier | ||||
| Version: | 2.5.0 | Keywords: | plan | ||||
| Target Milestone: | 2.5.0 M7 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| URL: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=210913 | ||||||
| Whiteboard: | Autoed,G | ||||||
| Attachments: |
|
||||||
|
Description
Erdal Karaca
BeforeComputation/AfterComputation were deprecated in scripting enhancement. See the spec in http://wiki.eclipse.org/BPS18. However, BeforeComputation/AfterComputation can't be replaced by BeforeGeneration/AfterGeneration, so it's needed in some cases. Revoked the deprecated script method: beforeComputations and afterComputations, since they can't be replaced by beforeGenerations and afterGenerations respectively. Also added new PlotComputation as super class of PlotWithAxes and PlotWithoutAxes, so user can use code assistance in js editor more effectively and chart engine can remove much duplicate code. Created attachment 129321 [details]
Call before/afterComputations directly
Yulin,
before/afterComupations are called reflectively.
They should be called directly as is done for the other events.
See patch...
Thanks!
(In reply to comment #3) > Created an attachment (id=129321) [details] > Call before/afterComputations directly > > Yulin, > before/afterComupations are called reflectively. > They should be called directly as is done for the other events. > > See patch... > > Thanks! > OK, it's done. I didn't realize it. Thanks for your reminding. Verified on build 2.5.0 v20090409-0630. |