Class NullGUIContext

  • All Implemented Interfaces:
    GUIContext, Closeable, AutoCloseable

    public class NullGUIContext
    extends Object
    implements GUIContext
    This GUI context is provided if no GUI context is requested by the application componenent or if there is no GUI possible that can be provided to an application component.
    Author:
    Markus Lauer
    • Constructor Detail

      • NullGUIContext

        public NullGUIContext()
    • Method Detail

      • close

        public void close()
        Description copied from interface: GUIContext
        Closes the GUI for this context. This method has to be called by the runtime manager whenever an application has terminated (finished, failed, aborted, killed,...).
        It must be possible to call this method more than once, even if the GUIContext has already shut down. This especially applies to the disposal of SWT-widgets, that is, it is allowed to call this method after the disposal of the corresponding widgets.
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
        Specified by:
        close in interface GUIContext