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