public interface UIProvider
UIProvider provides access to the underlying UI implementation.
Information like, if it is running under a GUI, as well as the out/err streams are available from implementations of
this interface| Modifier and Type | Method and Description |
|---|---|
UIDesktop |
getDesktop() |
String |
getName() |
UIOutput |
getOutput() |
boolean |
isEmbedded() |
boolean |
isGUI() |
String getName()
UIProviderboolean isGUI()
true if this UIProvider is running a Graphical User Interface.boolean isEmbedded()
true if this UIProvider is being executed in an embedded environment (eg: as a Shell
in IDE or as part of an application)UIOutput getOutput()
UIOutput used to display messages during a UI interactionUIDesktop getDesktop()
UIDesktop associated with this UIProvider.Copyright © 2016 JBoss by Red Hat. All rights reserved.