我在e4xmi中创建了一个应该像控制台视图一样的部分。如何将此部件作为视图的控制台。
答案 0 :(得分:1)
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.