Ignore:
Timestamp:
Jan 19, 2017, 9:54:41 AM (5 years ago)
Author:
Nicklas Nordborg
Message:

References #2052: Add extension point for custom action in the Adminstrate->Services list

The extension point has now been defined: net.sf.basedb.clients.web.services.list.actions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/web/web-extensions.xml

    r7111 r7271  
    132132      </parameters>
    133133    </error-handler-factory>
     134  </extension-point>
     135 
     136  <extension-point
     137    id="services.list.actions"
     138    >
     139    <action-class>net.sf.basedb.clients.web.extensions.toolbar.ButtonAction</action-class>
     140    <renderer-factory override="true">
     141      <factory-class>net.sf.basedb.clients.web.extensions.toolbar.CompactButtonRendererFactory</factory-class>
     142    </renderer-factory>
     143    <name>Services: Actions</name>
     144    <description>
     145      Extension point for the Actions column in the Adminstrate-&gt;services list.
     146      Extensions should provide ActionButton instances. The default renderer factory is
     147      CompactButtonRendererFactory, but this can be overridden by the extensions.
     148      The JspContext.getItem() method return the current ServiceControllerAction.
     149    </description>
    134150  </extension-point>
    135151
Note: See TracChangeset for help on using the changeset viewer.