| Adds the build, open project, close project and refresh resource
actions to the context menu.
The following conditions apply:
build-only projects selected, auto build disabled, at least one
builder present
open project-only projects selected, at least one closed project
close project-only projects selected, at least one open project
refresh-no closed project selected
Both the open project and close project action may be on the menu
at the same time.
No disabled action should be on the context menu.
Parameters: menu - context menu to add actions to |