| Summary: | Report Parameters enhancement | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Huynh <khuynh45> | ||||||
| Component: | BIRT | Assignee: | Yuejie Chen <yuejie.chen> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | certqb | ||||||
| Version: | unspecified | Keywords: | plan | ||||||
| Target Milestone: | 2.2.0 M4 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Huynh
Since parameter promoting is a web application, we will not be able to provide OSGi extension points for this customization, but you can have a custom web application to fully customize the parameter collection before calling report engine to run the report. BIRT report viewer code can be used as an examples how this can be done. This would only solve run-time parameter prompting (Would the Rich Server Platform project solve the OSGi problem in the future?). We've planned to have custom viewers for both RCP and Web environments to handle our legacy and BIRT reports. To facilitate this, we would need to have our own (design-time) parameter/prompt builder. Since the BIRT report parameter builder is tightly integrated with the report designer, can this be refactored into an OSGi extension? This would allow us to provide our custom builder that hooks into the BIRT framework. Consider if it's possible to provider extension point to let user customize the parameter design dialog. (In reply to comment #4) > This would only solve run-time parameter prompting (Would the Rich Server > Platform project solve the OSGi problem in the future?). We've planned to have > custom viewers for both RCP and Web environments to handle our legacy and BIRT > reports. To facilitate this, we would need to have our own (design-time) > parameter/prompt builder. Since the BIRT report parameter builder is tightly > integrated with the report designer, can this be refactored into an OSGi > extension? This would allow us to provide our custom builder that hooks into > the BIRT framework. > Huynh, we have refactored our views code in 2.2, and add a ElementAdapter extension to make our views more extensible and customizable. You can check out the latest code(include plug-in org.eclipse.birt.report.designer.ui.views, which we added recently), and look through the org.eclipse.birt.report.designer.ui.elementAdapters extension point in plug-in org.eclipse.birt.report.designer.ui. Now, the views content are contributed by elementAdapters extension point. To provide a view content(labels, context menus..), you can implement a INodeProvider, then register it as ElementAdapter with view content model. For details, you can refer to the implementation in plug-in org.eclipse.birt.report.designer.ui.views. BTW, the code and the extension schema are not stable, may change in future until 2.2 release.
> Huynh,
> we have refactored our views code in 2.2, and add a ElementAdapter extension to
> make our views more extensible and customizable. You can check out the latest
> code(include plug-in org.eclipse.birt.report.designer.ui.views, which we added
> recently), and look through the
> org.eclipse.birt.report.designer.ui.elementAdapters extension point in plug-in
> org.eclipse.birt.report.designer.ui. Now, the views content are contributed by
> elementAdapters extension point. To provide a view content(labels, context
> menus..), you can implement a INodeProvider, then register it as ElementAdapter
> with view content model. For details, you can refer to the implementation in
> plug-in org.eclipse.birt.report.designer.ui.views.
>
> BTW, the code and the extension schema are not stable, may change in future
> until 2.2 release.
>
This is great. I'll give it a try.
Thanks
Huynh, i will mark this bug as fixed for 2.2.0M4 release build, if you found that the new extension not suits you, you can reopen it, we can do more investigation. |