CentraSite Documentation : Working with the CentraSite Business UI : Administering the Business UI : CentraSite Business UI Pluggable Architecture : Extension Points for Customizing Content Pages : Add 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/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 © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback