Using org.eclipse.ui.console for my RCP -- problem: cant listen to return keys or alike [message #647450] |
Thu, 06 January 2011 08:16  |
Eclipse User |
|
|
|
Hello,
I am trying to use a console view in my RCp application. Since eclipse has this org.eclipse.ui.console implementations, I added a IOConsole to my workbench. It provides one InputStream to read from it, but I don't know how to be informed when actually there is a need to read from the console, specifically: when the return key was pressed. The only possibility seems to me to permanently read the input stream in a background thread, which seems not elegant to me, and unperformant.
Since there are zero tutorials or documentation further than the javadoc available, I am really stuck here. Can you help me, please?
Thanks!
|
|
|
|
Powered by
FUDForum. Page generated in 0.24057 seconds