Changeset 7274


Ignore:
Timestamp:
Jan 24, 2017, 1:02:29 PM (5 years ago)
Author:
Nicklas Nordborg
Message:

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

Added this to the documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/src/docbook/developer/extensions.xml

    r7115 r7274  
    19461946        http://baseplugins.thep.lu.se/wiki/net.sf.basedb.ftp</ulink>
    19471947      </para>
    1948      
     1948    </sect2>
     1949
     1950    <sect2 id="extensions_developer.service-actions">
     1951      <title>Service actions</title>
     1952      <para>
     1953        The services list page has an <guilabel>Action</guilabel> column
     1954        for showing the <guilabel>Start</guilabel> and <guilabel>Stop</guilabel>
     1955        actions as well as any other actions extending this extension point.
     1956        This extension point is similar to the toolbar extension points and actions
     1957        should implement the <interfacename
     1958          docapi="net.sf.basedb.clients.web.extensions.toolbar">ButtonAction</interfacename>
     1959        interface. This extension point supports custom scripts and stylesheets.
     1960       
     1961        Note that all extensions are invoked for all services. The
     1962        <methodname>ClientContext.getItem()</methodname> returns the
     1963        <interfacename docapi="net.sf.basedb.clients.web.extensions.service">ServiceControllerAction</interfacename>
     1964        instance for the current service. Extensions should use this to
     1965        decide if an action should be created or not.
     1966      </para>
    19491967    </sect2>
    19501968
Note: See TracChangeset for help on using the changeset viewer.