简体   繁体   中英

How to Implement Console View in Pure Eclipse 4 RCP

I have created a part in e4xmi which should act like a console view. How to make this part as a console like view.

There is no support for a console view or launching programs in a pure e4 RCP so you are going to have to craft everything yourself.

If you are using ProcessBuilder or Runtime.exec to launch a program you just need to set up threads to read the output of the program and send it to a part.

The part could use something like the JFace SourceViewer to display the output.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM