Changeset 7756 for trunk/src/clients/web/web-extensions.xml
- Timestamp:
- Nov 27, 2019, 8:17:21 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/clients/web/web-extensions.xml
r7536 r7756 147 147 CompactButtonRendererFactory, but this can be overridden by the extensions. 148 148 The JspContext.getItem() method return the current ServiceControllerAction. 149 </description> 150 </extension-point> 151 152 <extension-point 153 id="file-viewer" 154 > 155 <action-class>net.sf.basedb.clients.web.extensions.toolbar.ButtonAction</action-class> 156 <renderer-factory override="true"> 157 <factory-class>net.sf.basedb.clients.web.extensions.toolbar.CompactButtonRendererFactory</factory-class> 158 </renderer-factory> 159 <name>File viewer</name> 160 <description> 161 Extension point for adding actions after the "View" and "Download" actions 162 whenever a file item is displayed. Extensions should provide ActionButton 163 instances. The default renderer factory is CompactButtonRendererFactory, but 164 this can be overridden by the extensions. The JspContext.getCurrentItem() method 165 return a FileViewerContext instance. This object can be used to retrieve information 166 about the current file, but also about the surrounding context, for example, 167 if the file is in a "Data files" list for another item. 149 168 </description> 150 169 </extension-point>
Note: See TracChangeset
for help on using the changeset viewer.