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: 487
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.
© Stack Overflow or respective owner