简体   繁体   中英

Which swt/jface control to use for writing telnet in eclipse rcp?

I have to write a telnet in eclipse rcp. So can anybody tell me which control should i use?

here control is for eg: swt.Text, swt.StyledText.

It depends on many things. If you want to allow for any form of formatting in the output - like support vt100 - then a StyledText control is good. If you want to keep it as simple as possible, I would probably use a Text for the current input, and a multi-line Text for the output.

If you have more freedom in your RCP application, consider adding the Console view to the application. This will give a very polished way of adding telnet support...

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