147148149150151152153154155156157
tn.appendChild( getCategoriesStructure() ); //seem to have to open it on a timer... Timer t = new Timer() { public void run() { inbox.expand(); } }; t.schedule( 100 ); return tn;
243244245246247248249250251252253
if ( !expanding ) { expanding = true; infanticide( childNode ); doCategoryNode( childNode, (String) childNode.getUserObject() ); childNode.expand(); expanding = false; } } } );
163164165166167168169170171172173
259260261262263264265266267268269
8384858687888990919293
public void handleSuccess(ImportsData result) { TreeNode root = importsTree.getRootNode(); addImports(result, root); root.select(); root.expand(); } } /* * Helper methods
176177178179180181182183184185186
if (!expanding) { expanding = true; infanticide(childNode); doCategoryNode(childNode, (String) childNode.getUserObject()); childNode.expand(); expanding = false; } } });