How soon after BundleActivator#start() can I print to the console? [message #511271] |
Mon, 01 February 2010 03:00 |
Felix L J Mayer Messages: 202 Registered: July 2009 |
Senior Member |
|
|
I would like to print some information to the Console view which becomes
available in BundleActivator#start(). However, this makes by console
unusable because the scheduled
org.eclipse.ui.internal.console.IOConsolePartitioner.QueuePr ocessingJob
never runs, and in
org.eclipse.ui.internal.console.IOConsolePartitioner.streamA ppended(IOConsoleOutputStream,
String) my output is only appeneded to an ever-growing buffer in a
PendingPartition. I delayed the console output by using a BundleListener
that waits for BundleEvent.STARTED, but that didn't help.
So the question is how I can bring this information into my console. Is
there any event indicating the Console view is ready for me? Or is this
possibly a problem with the job scheduling in this context? I can schedule
other jobs in BundleActivator#start() without a problem.
Thanks, Felix
|
|
|
Powered by
FUDForum. Page generated in 0.03069 seconds