This sample shows you how to customize the Decision Center user interface to provide easy access to key features.
Time required
15 minutes
Prerequisites
You must have Decision Center installed to use this sample.
Check that the sample server is started before using this sample. For more information about starting the sample server, see Starting and stopping the sample server.
Description
This sample shows you how to customize the Decision Center user interface to provide convenient access to key features for different users, depending on their profile, and a personalized look and feel. After customizing the Decision Center, you can perform the following actions:
View the content of the BOM in a custom BOM tab available to Admin users only.
View the verbalization navigation and action templates defined in the BOM in a custom Category tab available to all users.
Move rules from one folder to another using a custom drop-down list and toolbar button in the Explorer tab.
Customize the Decision Center Home tab according to the user group.
Change the current project in one click on the Home tab.
Access an action rule directly.
Customize the Edit button so that it does a quick edit action.
The key features of this sample include:
Accessing the graphical model through the ManagerBean class (entry point for extending the graphical user interface)
Adding a button to the Decision Center toolbar
Adding a tab in the Decision Center UI
Restricting access to a tab to specific users
Retrieving BOM information such as classes, fields, and methods
Retrieving verbalization templates
Redefining standard Decision Center tabs
Redefining Decision Center command actions
Using page templates to write custom pages in the tabs
Using the permalink API to access projects and rules