27282930313233343536
public class SearchFilterTreeTestModel { @AuraEnabled public List<TreeNode> getTree() { TreeNode serverRoot = new TreeNode(null, "serverRoot"); serverRoot.addChild(new TreeNode("#child", "serverChild")); return Lists.newArrayList(serverRoot); } }
96979899100101102103104105106
desc.getDef(); } catch (Throwable t) { // ignore problems, we were only trying to preload } namespaceTreeNode.addChild(new TreeNode(href, desc.getName())); } } catch (Exception x) { // Skip any invalid def // System.out.printf("\n*** ReferenceTreeModel.makeTreeNodes() failed to load component '%s': %s\n", // desc, x.toString());