Tab should have a way to cancel close

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P3
    • 8
    • Affects Version/s: fx2.0
    • Component/s: javafx

      There should be an API for canceling the attempt to close a tab, similar to the way we can cancel closing of a Window. Without this, there is no way of, for example, prompting a user if they're sure they want to close the tab, giving them a final chance to veto the pending change.

      In Window, there is an onCloseRequest event, which has the following description: "Called when there is an external request to close this Window. The installed event handler can prevent window closing by consuming the received event."

            Assignee:
            Unassigned
            Reporter:
            Richard Bair (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: