I'm developping a little plugin and I have some questions.
I have made a ProjectComponent and a ToolWindow. Now I have added an
action on the ToolWindow, and of course I want the action to call some
method on my ToolWindow, or on my ProjectComponent.
What is the "right" way to have a reference to the ProjectComponent in
an Action ? I would pass a reference in the constructor but since it is
instanciated according to the plugin.xml I can't do that. So how do I do
Thanks for your help.