简体   繁体   中英

read input in an Eclipse RCP application

I have created an Eclipse RCP application. I want to read an input from the user when the program runs. How can I do that? Please any one help me with a sample code.

Thanks in advance.. :)

As long as you application is not headless: we usually use dialog windows to capture user input. eclipse RCP/SWT has some dialog classes, it's quite the same as doing it in swing.

For an easy start: JFace's InputDialog (available in eclipse RCP applications)

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