I have two viewers, one has a Text for user’s input and the other viewer is the Eclipse’s built_in Console View. And I will run an java program according user’s input, and want to display the log information in the ConsoleView. Does anybody know How can I redirect the output to Console View ?
Thanks
SO questions How to write a hyperlink to an eclipse console from a plugin and writing to the eclipse console give example of redirection to the Console.
The blog post Displaying the console in your RCP application
The ideas remain to create an
OuputStreamand open a NewConsole, or associating theMessageStreamof a console tostdoutadnstderr(like my previous answer)