@Test public void messageHandlerFactory() { viewList = ImmutableList.of(FOO_VIEW); ext = new UiExtension.Builder(cl, viewList) .messageHandlerFactory(MH_FACTORY) .build(); assertEquals("wrong message handler factory", MH_FACTORY, ext.messageHandlerFactory()); assertNull("unexpected topo overlay factory", ext.topoOverlayFactory()); }
public UiMessageHandlerFactory messageHandlerFactory() { return messageHandlerFactory; }
UiExtension { public UiMessageHandlerFactory messageHandlerFactory() { return messageHandlerFactory; } }
UiExtension { public UiMessageHandlerFactory messageHandlerFactory() { return messageHandlerFactory; } private  UiExtension(ClassLoader cl, String path, List<UiView> views,
                        UiMessageHandlerFactory mhFactory,
                        UiTopoOverlayFactory toFactory,
                        UiTopoMapFactory tmFactory); }
UiExtension { public UiMessageHandlerFactory messageHandlerFactory() { return messageHandlerFactory; } private  UiExtension(ClassLoader cl, String path, List<UiView> views,
                        UiMessageHandlerFactory mhFactory,
                        UiTopoOverlayFactory toFactory,
                        UiTopoMapFactory tmFactory); InputStream css(); InputStream js(); List<UiView> views(); InputStream resource(String viewId, String path); UiMessageHandlerFactory messageHandlerFactory(); UiTopoOverlayFactory topoOverlayFactory(); UiTopoMapFactory topoMapFactory(); }
UiExtension { public UiMessageHandlerFactory messageHandlerFactory() { return messageHandlerFactory; } private  UiExtension(ClassLoader cl, String path, List<UiView> views,
                        UiMessageHandlerFactory mhFactory,
                        UiTopoOverlayFactory toFactory,
                        UiTopoMapFactory tmFactory); InputStream css(); InputStream js(); List<UiView> views(); InputStream resource(String viewId, String path); UiMessageHandlerFactory messageHandlerFactory(); UiTopoOverlayFactory topoOverlayFactory(); UiTopoMapFactory topoMapFactory();  }