This should be easy, I just cant figure it out.
I have a ToolWindow with a bunch of JPanels and components in. Burried somehwere in this tool window is the JComponent of a ConsoleView.
Now I can get hold of the toolWindow at any time like this:
ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(project);
ToolWindow toolWindow = (ToolWindow) toolWindowManager.getToolWindow(consoleWindowId);
But how do I get the ConsoleView?