NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #2016 (new feature)

Opened 2013-10-22T09:51:16-05:00

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.