How load text into JavaStackTraceConsolePage programmatically?
- by Marcel
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:
get the console output from the other system
obtain a reference to a JavaStackTraceConsolePage instance
send the text to the console page
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.