views:

29

answers:

0

In my Eclipse plugin I'd like to send a Java console output (loaded from some other system) to the Java Stack Trace Console. In 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.