Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Reading Console View Messages
Reading Console View Messages [message #326025] Wed, 05 March 2008 21:19 Go to next message
Eclipse UserFriend
Originally posted by: ponraj_007.yahoo.com

Hi All,

In my application, i am using console view to display the output messages
of some task. After completing that task i want to read console view
messages to verify the task.

Is it possible in eclipse

Thanks,
Ponraj.
Re: Reading Console View Messages [message #326068 is a reply to message #326025] Thu, 06 March 2008 14:10 Go to previous messageGo to next message
Eclipse UserFriend
Ponraj wrote:
> Hi All,
>
> In my application, i am using console view to display the output
> messages of some task. After completing that task i want to read console
> view messages to verify the task.
>
> Is it possible in eclipse
>
> Thanks,
> Ponraj.
>
Yes, but are you creating the console (look at IOConsole class) or are
you running ExternalTools?
Re: Reading Console View Messages [message #326069 is a reply to message #326068] Thu, 06 March 2008 14:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ponraj_007.yahoo.com

Hi Jhon,

I am using MessageConsole class.

Thanks,
Ponraj
Re: Reading Console View Messages [message #326070 is a reply to message #326069] Thu, 06 March 2008 17:36 Go to previous messageGo to next message
Eclipse UserFriend
Ponraj wrote:
> Hi Jhon,
>
> I am using MessageConsole class.
>
> Thanks,
> Ponraj
>
MessageConsole isA TextConsole so you can listen for patterns with
addPatternMatchListener() or look at the content with getDocument(). Use
the listener for dynamics and getDocument for post-process analysis.
Re: Reading Console View Messages [message #326075 is a reply to message #326070] Thu, 06 March 2008 19:14 Go to previous message
Eclipse UserFriend
Hi John,
I tried with getDocument() method.
If i get the contents using getDocument().get() method. i am getting empty
string (""). But in my console view i can able to see soo many messages.

Thanks
ponraj
Previous Topic:Highlight TreeItems on mouse over
Next Topic:Associating a command to a global handler
Goto Forum:
  


Current Time: Wed Apr 16 04:29:46 EDT 2025

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

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

Back to the top