Class MacQuitHandler

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler

    public abstract class MacQuitHandler
    extends java.lang.Object
    A base implementation for creating an 'Quit' menu action callback. This is executed when the user presses the Dock's 'Ghidra->Quit' menu action.

    Simply constructing this class will register it.

    See com.apple.eawt.Application.setQuitHandler(QuitHandler) com.apple.eawt.AboutHandler.handleQuitRequestWith(QuitEvent, QuitResponse)

    • Constructor Summary

      Constructors 
      Constructor Description
      MacQuitHandler()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object getApplication()  
      java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)  
      abstract void quit()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MacQuitHandler

        public MacQuitHandler()
    • Method Detail

      • quit

        public abstract void quit()
      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getApplication

        protected java.lang.Object getApplication()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception