Is there any standard mechanism in RCP or JFace to register a window or dialog so that if the user calls a handler which brings up a dialog two times, and the second time the selection hasn't changed, instead of bringing up a new dialog, the dialog that was previously opened becomes focused?
Asked
Active
Viewed 32 times
1 Answers
0
JFace dialogs are destroyed when they are closed so you can't really save them.
You can save and restore values in dialogs using something like the JFace DialogSettings
class.

greg-449
- 109,219
- 232
- 102
- 145
-
Yes, but let's say the window is not closed. It is merely redundant. A new window should not opened, the first opened window should merely be refocused. – dasPing May 06 '16 at 08:36