public static class UiExtension.Builder extends Object
Constructor and Description |
---|
Builder(ClassLoader cl,
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(List<LionBundle> bundles)
Sets the localization bundles (aka
LionBundle s) that this
UI extension is contributing. |
UiExtension.Builder |
messageHandlerFactory(UiMessageHandlerFactory mhFactory)
Sets the message handler factory for this extension.
|
UiExtension.Builder |
resourcePath(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(ClassLoader cl, List<UiView> views)
cl
- the class loaderviews
- list of views contributed by this extensionpublic UiExtension.Builder lionBundles(List<LionBundle> bundles)
LionBundle
s) that this
UI extension is contributing.bundles
- the bundles to registerpublic UiExtension.Builder resourcePath(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()