public final class UiExtension extends Object
Note that the UiExtension.Builder
class is used to create a user
interface extension instance, and that these instances are immutable.
Modifier and Type | Class and Description |
---|---|
static class |
UiExtension.Builder
UI Extension Builder.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
css()
Returns input stream containing CSS inclusion statements.
|
InputStream |
js()
Returns input stream containing JavaScript inclusion statements.
|
List<LionBundle> |
lionBundles()
Returns the list of localization bundles that this extension is
contributing.
|
UiMessageHandlerFactory |
messageHandlerFactory()
Returns message handler factory, if one was defined.
|
InputStream |
resource(String viewId,
String path)
Returns input stream containing specified view-specific resource.
|
UiTopo2OverlayFactory |
topo2OverlayFactory()
Returns the topology-2 overlay factory, if one was defined.
|
UiTopoMapFactory |
topoMapFactory()
Returns the topology map factory, if one was defined.
|
UiTopoOverlayFactory |
topoOverlayFactory()
Returns the topology overlay factory, if one was defined.
|
List<UiView> |
views()
Returns list of user interface views contributed by this extension.
|
public InputStream css()
public InputStream js()
public List<UiView> views()
public List<LionBundle> lionBundles()
public InputStream resource(String viewId, String path)
viewId
- view identifierpath
- resource path, relative to the view directorypublic UiMessageHandlerFactory messageHandlerFactory()
public UiTopoOverlayFactory topoOverlayFactory()
public UiTopo2OverlayFactory topo2OverlayFactory()
public UiTopoMapFactory topoMapFactory()