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 UI extension.
|
UiExtension.Builder |
messageHandlerFactory(UiMessageHandlerFactory mhFactory)
Sets the message handler factory for this extension.
|
UiExtension.Builder |
resourcePath(String path)
Set the resource path.
|
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 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 topoMapFactory(UiTopoMapFactory tmFactory)
tmFactory - topology map factorypublic UiExtension build()