As the cration of popup menu of RootFolderNode is hardcoded it is impossible
to remove the actions using xml layers (branding).
It is desirable to read the actions from xml layer.
Target milestone was changed from '3.4' to TBD.
As Tony asked on dev@openide, by the same token it is hard to *add* to
this context menu. Depends on Looks for configurability, I guess.
Probably RootFolderNode should be made a FilterNode and override the
bare minimum. For starters, the getActions method should call
super.getActions and merge in/out things it cares about. This would
mean at least that if you took the actions off regular FolderNode's
using the DataLoader.setActions hack (see issue #20895), at least it
would work on root folders too - currently it is quite impossible.
Part of the new datasystem/actions activities --> target milestone 4.0.
Issue #19443 should solve this at some point.
See issue #19443.
Enough of issue #19443 implemented for this purpose.
I will anyway make RootFolderNode get its actions from the regular
folder list and just add/remove what it needs, rather than hardcoding
the full list.