public static class UiExtension.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder(java.lang.ClassLoader cl,
java.util.List<UiView> views)
Create a builder with the given class loader.
|
| Modifier and Type | Method and Description |
|---|---|
UiExtension |
build()
Builds the user interface extension.
|
UiExtension.Builder |
lionBundles(java.util.List<LionBundle> bundles)
Sets the localization bundles (aka
LionBundles) that this
UI extension is contributing. |
UiExtension.Builder |
messageHandlerFactory(UiMessageHandlerFactory mhFactory)
Sets the message handler factory for this extension.
|
UiExtension.Builder |
resourcePath(java.lang.String path)
Set the resource path.
|
UiExtension.Builder |
topo2OverlayFactory(UiTopo2OverlayFactory to2Factory)
Sets the topology-2 overlay factory for this extension.
|
UiExtension.Builder |
topoMapFactory(UiTopoMapFactory tmFactory)
Sets the topology map factory for this extension.
|
UiExtension.Builder |
topoOverlayFactory(UiTopoOverlayFactory toFactory)
Sets the topology overlay factory for this extension.
|
public Builder(java.lang.ClassLoader cl,
java.util.List<UiView> views)
cl - the class loaderviews - list of views contributed by this extensionpublic UiExtension.Builder lionBundles(java.util.List<LionBundle> bundles)
LionBundles) that this
UI extension is contributing.bundles - the bundles to registerpublic UiExtension.Builder resourcePath(java.lang.String path)
path - resource pathpublic UiExtension.Builder messageHandlerFactory(UiMessageHandlerFactory mhFactory)
mhFactory - message handler factorypublic UiExtension.Builder topoOverlayFactory(UiTopoOverlayFactory toFactory)
toFactory - topology overlay factorypublic UiExtension.Builder topo2OverlayFactory(UiTopo2OverlayFactory to2Factory)
to2Factory - topology-2 overlay factorypublic UiExtension.Builder topoMapFactory(UiTopoMapFactory tmFactory)
tmFactory - topology map factorypublic UiExtension build()