Changes between Initial Version and Version 1 of Ticket #839, comment 4
- Timestamp:
- 08.10.2015 14:24:41 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #839, comment 4
initial v1 4 4 Webclient: revise searchmode extension API (#839). 5 5 6 Providing a search mode implementation is slightly more convenient for the plugin developer. She must no longer handle events but implements all the searchmode in aconcise constructor function. Furthermore she can rely on a higher-level API and must not interact with the toolbar DOM.6 Providing a search mode implementation is slightly more convenient for the plugin developer. She must no longer handle events but implements all the searchmode aspects in one concise constructor function. Furthermore she can rely on a higher-level API and must not interact with the toolbar DOM. 7 7 8 8 BREAKING CHANGES … … 47 47 dm4c.toolbar.select_searchmode(MY_SEARCHMODE_URI) 48 48 }}} 49 Note: the `dm4c.toolbar.select_searchmode()` method exist s like before but is noa high-level call. You must no longer care about manually choosing the searchmode from the searchmode menu.49 Note: the `dm4c.toolbar.select_searchmode()` method existed before but is now a high-level call. You must no longer care about manually choosing the searchmode from the searchmode menu. 50 50 51 51 == Overview of the new searchmode API (5 methods) ==