void performUsing(final QuitHandler handler, final _NativeEvent event) { if (_AppMiscHandlers.isSuddenTerminationEnbaled()) { performDefaultAction(event); return; } final MacQuitResponse response = obtainQuitResponse(); // obtains the "current" quit response handler.handleQuitRequestWith(new QuitEvent(), response); }
@Override public void handleQuitRequestWith(QuitEvent e, QuitResponse response) { handleQuit(); }
void performUsing(final QuitHandler handler, final _NativeEvent event) { final MacQuitResponse response = obtainQuitResponse(); // obtains the "current" quit response handler.handleQuitRequestWith(new QuitEvent(), response); }