Provide context menus on objects. IBM also recommends that you also include a menu item in a menu on the menu bar for every context menu that you create.
Lotus Notes core provides a standard set of context menu items for different interface objects, such as a view or a document). IBM recommends that you add application-specific context menu items to the standard set.The standard set might not always be appropriate for a context menu. In Domino Designer 8.0, developers can remove the standard context menu items for documents in a view.
If you do that, you can then put your application-specific menu items at the top of the context menu, and then add back any of the standard menu items that are appropriate for that view.
IBM recommends that you include any application-specific context menu items either in the Create or Actions menu as well, because it is generally not acceptable user experience to provide a menu item only
in a context menu.
For more information on how to customize the context menus, refer to the Domino Designer online documentation about Actions in Views.
Use the following guidelines to help you determine whether you should put a command on the action bar or in a context menu (in addition to having it in the Create or Actions menu, of course).
- Put a menu item in the context menuwhen the actions change based on the object that is selected. For example, the context menu for an embedded picture might be entirely different than the context menu for a selected word.
- Put a button in the action barwhen the actions will be appropriate most of the time in the view or document. In general, the actions should depend on what is selected.