Implement Activity as an 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 starting 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 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.ExtensionWidgetF
actory">
<when-type-is
class="com.softwareag.centrasite.bui.extension.core.client.IExtensionWidgetF
actory"/>
</replace-with>