public Map<String, String> getResourcesMap() { Map<String, String> result = new HashMap<String, String>(); result.putAll(cssResources.getResources()); result.putAll(javaScriptResources.getResources()); result.putAll(imageResources.getResources()); return Collections.unmodifiableMap(result); }
protected void init() { setProvider(getNativeProvider()); setTemplating( dtoFactory.createDtoFromJson( javaScriptResources.completionTemplatingJson().getText(), Templating.class)); // build trie buildTrie(); // set context factory using JSNI setContextFactory(new JSNIContextFactory()); }