| 5 | The following files are instrumental in making case summary accessible via icon link in column in BASE sample lists, or in tool bar in sample property tabs: |
| 6 | |
| 7 | {{{ |
| 8 | resources/reports/case_summary_hook.jsp |
| 9 | resources/scripts/case-summary.js |
| 10 | src/net/sf/basedb/meludi/extensions/CaseSummaryButtonFactory.java |
| 11 | src/net/sf/basedb/meludi/extensions/CaseSummarySectionFactory.java |
| 12 | src/net/sf/basedb/meludi/extensions/MeludiListColumnsFactory.java |
| 13 | }}} |
| 14 | |
| 15 | * File `src/net/sf/basedb/meludi/extensions/MeludiListColumnsFactory.java` controls the case summary icon link in a column in BASE sample lists. |
| 16 | |
| 17 | * Files `src/net/sf/basedb/meludi/extensions/CaseSummaryButtonFactory.java` and `resources/scripts/case-summary.js` control the case summary icon link in tool bar in sample property tabs. The first sets values of named parameters, that are used by the second, that selects the case summary JSP file. By updating the extension to set the name of the active project to a new parameter, script `case-summary.js` can access this and select the case summary version depending on the project name. |