Is there a way to do that?
I am trying to wrap the Run/Debug action. The contextual editor menu has a contextual RunClass/DebugClass that modify their Presentation text based on the caret position. As much as possible I do not want to re-implement the same behavior.
Unfortunately these actions somehow are getting their presentation upfront because after replacing these actions with my own wrapped actions, my own action Presentation text never changes again and stays "Run" or "Debug" instead of "Run " or "Debug ]]>"
Without this the API seems incomplete since it allows to listen to change in the Presentation (add/remove/firePropertyChangeListener) but doesn't give a way to access it outside of the implementing action update/actionPerformed methods. The things that RunClass does need to be available through the openapi.
Thanks in advance