How load text into JavaStackTraceConsolePage programmatically?

Posted by Marcel on Stack Overflow See other posts from Stack Overflow or by Marcel
Published on 2010-03-14T14:47:40Z Indexed on 2010/03/14 14:55 UTC
Read the original article Hit count: 482

In my Eclipse plugin I'd like to send a Java console output (loaded from some other system) to the Java Stack Trace Console. I pseudo-code it'd be something like:

  1. get the console output from the other system
  2. obtain a reference to a JavaStackTraceConsolePage instance
  3. send the text to the console page
  4. display the console i.e. switch from my plugin's view to the Console view

Step 1 is easy as it is specific to my plugin. As for the rest I'm pretty much clueless - Google and stackoverflow.com don't come up with useful references or how-tos. Since the class JavaStackTraceConsolePage is part of an internal Eclipse API (org.eclipse.jdt.internal.debug.ui.console) I'm not even sure whether it's doable at all.

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about eclipse-rcp