API Management : CentraSite Developers Guide : Customizing CentraSite : Customization of CentraSite Business UI : Customizing Content Pages : Adding Action Menu : Implement Action as an Extension
Implement Action as an Extension
Usage
Use this to define a custom action menu. For example, add an action, reorder the existing actions, enable or disable an action, and remove actions to suit your requirements.
Elements
*String actionId
*String commaSeparatedAssetId
*String positionParam
Interface
See the sample code
Abstract base class
ActionListener
Processing
When a list of actions for an action menu is retrieved, the following steps are performed for each known action:
*create an instance of class.
*implement the method processAction of type String.
Provided by
BusinessUI
Code
See the sample code
You can find sample code for defining the action menu as an extension point in the file CentraSiteBUIExtension.gwt.xml that is provided in the demos folder under the CentraSite installation folder.
<!-- Use ActionListener by default -->
<replace-with
class="com.softwareag.centrasite.bui.extension.client.action.ActionListener">
<when-type-is
class="com.softwareag.centrasite.bui.extension.core.client.IActionListener"/>
</replace-with>
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback