Implement Activity as a GTW Extension
Usage | Use this to define a custom activity menu. 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 the following sample code for defining an activity as an extension point in the CentraSiteBUIExtension.gwt.xml file that is provided in the demos folder under the CentraSite installation folder.
<!-- 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>