Context Sensitive Menus

Context Sensitive Menus

Is there any way to disable/enable Custom Actions in header and/or edit record menus? There are many situations where a particular action is inappropriate and it would be helpful to be able to disable it.

If this isn't already possible nor in the development wish list then please add it.