Ticket #2016 (new feature)

Opened 5 years ago

Make quitting vetoable

Reported by: curtis Owned by: curtis
Priority: major Milestone: imagej-2.0.0
Component: Core Version:
Severity: non-issue Keywords:
Cc: Blocked By:
Blocking:

Description

It would be good if ImageJ published a QuitPendingEvent when a program quit is requested. Then downstream code could subscribe to the event and consume it if they wish to veto the quit. If nothing else consumes it, the quit goes forward.

Note: See TracTickets for help on using tickets.