Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problem with Message Console
Problem with Message Console [message #464438] Tue, 06 March 2007 04:34
Eclipse UserFriend
Hello,

I really need some help here...

My plugin fills a MessageConsole by using the provided MessageConsoleStream.

It does that in two ways. First based on object that are sent to the plugin via a
network Socket. I get a String representation of each object and print it. It works
perfectly.

If the user wants to stop the console from filling, a "toggle autoscroll" button is
available. In that case, the objects are put in a cyclic buffer and not printed to
the console. When the user clicks again on "toggle autoscroll", the buffer is emptied
and each object's String representation is printed to the console.

With this second way of filling the console, I am experiencing problems that I really
don't know how to solve. The console stream calls the IOConsolePartitioner's
streamAppended method. Thus, the internal buffer of the partitioner grows a bit. When
it reached 1000, the queueJob is scheduled. This job is supposed to empty the waiting
partitions and update the console.

Unfortunately, even though the schedule method is called several times, with no delay
as parameter, the job never starts. Once the schedule method has been called many
times by the partitioner, everything freezes.

Could someone please help me out?

Thanks a lot,

Sébastien
Previous Topic:Refresh, New Project, within Ant?
Next Topic:refresh image size in a table column
Goto Forum:
  


Current Time: Wed Mar 26 11:47:09 EDT 2025

Powered by FUDForum. Page generated in 0.03920 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top