Getting hold of console view?

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?

2 comments

Check out - http://www.intellij.net/forums/thread.jspa?threadID=266920&tstart=15 - I had a similar need but at the moment it's not possible.

I've created a request for this in JIRA so it may be possible from IDEA v7 onwards - http://www.jetbrains.net/jira/browse/IDEA-12872

HTH,
Steve

0

My problem is that the console does not like to be shared between multiple projects opened in different frames. My console "lives" in an applicationcomponent. I have other resources there that is being shared by multiple projects, like a web server etc. How do you handle stuff like that?

0

Please sign in to leave a comment.