java.lang.Object
org.jpo.eventbus.UnsavedUpdatesDialogHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleEvent
(UnsavedUpdatesDialogRequest request) Brings the unsaved updates dialog if there are unsaved updates and then fires the next request.
-
Constructor Details
-
UnsavedUpdatesDialogHandler
public UnsavedUpdatesDialogHandler()
-
-
Method Details
-
handleEvent
Brings the unsaved updates dialog if there are unsaved updates and then fires the next request. Logic is: if unsavedChanges then show dialog submit next requestThe dialog has choices: 0 : discard unsaved changes and go to next request 1 : fire save request then send next request 2 : fire save-as request then send next request 3 : cancel - don't proceed with next request
- Parameters:
request
- the request
-