Package de.aristaflow.adept2.ui.nullgui
Class NullGUIContext
java.lang.Object
de.aristaflow.adept2.ui.nullgui.NullGUIContext
- All Implemented Interfaces:
GUIContext,Closeable,AutoCloseable
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
NullGUIContext
public NullGUIContext()
-
-
Method Details
-
close
public void close()Description copied from interface:GUIContextCloses 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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceGUIContext
-