CentraSite 10.5 | CentraSite Developer's Guide | Customizing CentraSite | Customization of CentraSite Business UI | Customizing CentraSite Content Page | Extending Activity Menu | Implement Activity as an Extension
 
Implement Activity as an Extension
Usage
Use this to define a custom activity. For example, add an activity, reorder the existing activities, and remove activities to suit your requirements.
Elements
*id
*class
Interfaces
*ActivityManager
*ActivityMenu
Abstract base class
Activity
Processing
When you start the user interface, a custom defined activity menu is rendered.
Provided by
CentraSiteLogicLayer
Code
See the sample code.
You can find sample code for defining the custom activity as an extension point in the file CentraSiteBUIExtension.gwt.xml. You can find the file in the demos folder in the <CentraSiteInstall_Directory>.
<!-- Use ExtensionWidgetFactory by default -->
<replace-with
class="com.softwareag.centrasite.bui.extension.client.
factory.ExtensionWidgetFactory">
<when-type-is
class="com.softwareag.centrasite.bui.extension.core.
client.IExtensionWidgetFactory"/>
</replace-with>