Module org.jpo

Class UnsavedUpdatesDialogHandler

java.lang.Object
org.jpo.eventbus.UnsavedUpdatesDialogHandler

public class UnsavedUpdatesDialogHandler extends Object
  • Constructor Details

    • UnsavedUpdatesDialogHandler

      public UnsavedUpdatesDialogHandler()
  • Method Details

    • handleEvent

      public void handleEvent(UnsavedUpdatesDialogRequest request)
      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 request

      The 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