I have a DefaultActionGroup to which I have added a bunch AnAction instances. This DefaultActionGroup has been added to a toolbar. Depending on certain conditions I need to enable/disable these actions. I looked up in the Forum and found the following thread.
But using the AnActionEvent instance I can only get the Presentation of the associated UI component on which the event occured. How can I enable/disable other toolbar buttons that I need to modify?