Package de.aristaflow.adept2.ui.nullgui
Class NullGUIContext
- java.lang.Object
-
- de.aristaflow.adept2.ui.nullgui.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 Summary
Constructors Constructor Description 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 interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceGUIContext
-
-