Lotus: Using Activities to hide and show views in the side shelf

THEMES: Lotus\Notes/Domino 8 | Lotus\Composite Appl...
YEAR: 2007
Login Login
User: Anonymous


LABEL: Composite Application | Lotus Notes 8 | Lotus Notes API
ORGANIZATIONS: IBM
 

Comments/attachments: Close
 
Resources
Using Activities to hide and show views in the side shelf
http://www-03.ibm.com/developerworks/blogs/page/CompApps?entry=using_activities_to_hide_and&ca=drs-bl

One of the interesting things about Eclipse Activities is the side shelf supports them. So in short, you can enable and disable activities and views will hide and show in the side shelf for that activity. The Side Shelf extension explains how to contribute a view to the side shelf, there is also a mini step-by-step tutorial that shows how to customize the UI and enable a view to show for an activity. You can supply an activity on a component of a composite application to have the Composite Application Framework enable and disable those activities when the perspective is switched to - essentially hiding and showing the views in the side shelf when the page hides and shows.

In portal, you can specify the activity on the Rich Client tab for a particular component. Here is a screen shot where the activities would be entered:



In the Composite Application Editor you can put the preference in the Advanced properties section for a component. The preference name is "com.ibm.rcp.activities". An example would be:

com.ibm.rcp.activities = com.ibm.myactivity;com.ibm.mail.activity