- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- Dr Alex Blewitt
- 96字
- 2025-04-04 19:52:35
Chapter 4. Interacting with the User
In the last chapter, we looked at some of the basic JFace viewers that provide a representation of data. However, we need to interact with the user and we can do this in multiple ways, from responding to mouse clicks to processing data-intensive operations in the background.
In this chapter we will:
- Create a menu in response to a user popup
- Add a command and a handler in a menu
- Use progress managers to report work
- Add commands to the progress manager
- Show errors and deal with failure