rem: t.set({ backgroundColor:255, border:qx.renderer.border.BorderObject.presets.inset, 
add: t.set({ backgroundColor:255, border:qx.renderer.border.BorderPresets.inset, 
context: qx.Proto._createTreeDemo = function() {  var main = new qx.ui.layout.HorizontalBoxLayout;  main.setPadding(10);  main.set({ width:"auto", height:"100%", spacing:10 });  // Workaround: qx.ui.tree.Tree causes an exception when added to a qx.ui.core.Parent that  //       has no qx.ui.core.Parent. -> So we give the parent a pseudo parent  var workaround = new qx.ui.layout.HorizontalBoxLayout;  workaround.add(main);  var t = new qx.ui.tree.Tree("Root");  t.set({ backgroundColor:255, border:qx.renderer.border.BorderObject.presets.inset,    overflow:"scrollY", height:"100%", width:200 });  main.add(t);  var te1 = new qx.ui.tree.TreeFolder("Desktop", "icon/16/home.png", "icon/16/home.png");  t.add(te1);  var te1_1 = new qx.ui.tree.TreeFolder("Files");  var te1_2 = new qx.ui.tree.TreeFolder("Workspace");  var te1_3 = new qx.ui.tree.TreeFolder("Network");  var te1_4 = new qx.ui.tree.TreeFolder("Trash");  te1.add(te1_1, te1_2, te1_3, te1_4);  var te1_2_1 = new qx.ui.tree.TreeFile("Windows (C:)", "icon/16/harddrive.png");  var te1_2_2 = new qx.ui.tree.TreeFile("Documents (D:)", "icon/16/harddrive.png");  te1_2.add(te1_2_1, te1_2_2);  var te2 = new qx.ui.tree.TreeFolder("Inbox");  t.add(te2);  var te2_1 = new qx.ui.tree.TreeFolder("Presets");  var te2_2 = new qx.ui.tree.TreeFolder("Sent");  var te2_3 = new qx.ui.tree.TreeFolder("Trash", "icon/16/trash.png", "icon/16/trash.png");  var te2_4 = new qx.ui.tree.TreeFolder("Data");  var te2_5 = new qx.ui.tree.TreeFolder("Edit");  var te2_5_1 = new qx.ui.tree.TreeFolder("Chat");  var te2_5_2 = new qx.ui.tree.TreeFolder("Pustefix");  var te2_5_3 = new qx.ui.tree.TreeFolder("TINC");  te2_5.add(te2_5_1, te2_5_2, te2_5_3);  var te2_5_3_1 = new qx.ui.tree.TreeFolder("Announce");  var te2_5_3_2 = new qx.ui.tree.TreeFolder("Devel");  te2_5_3.add(te2_5_3_1, te2_5_3_2);  var te2_6 = new qx.ui.tree.TreeFolder("Lists");  var te2_6_1 = new qx.ui.tree.TreeFolder("Relations");  var te2_6_2 = new qx.ui.tree.TreeFolder("Company");  var te2_6_3 = new qx.ui.tree.TreeFolder("Questions");  var te2_6_4 = new qx.ui.tree.TreeFolder("Internal");  var te2_6_5 = new qx.ui.tree.TreeFolder("Products");  var te2_6_6 = new qx.ui.tree.TreeFolder("Press");  var te2_6_7 = new qx.ui.tree.TreeFolder("Development");  var te2_6_8 = new qx.ui.tree.TreeFolder("Competition");  te2_6.add(te2_6_1, te2_6_2, te2_6_3, te2_6_4, te2_6_5, te2_6_6, te2_6_7, te2_6_8);  var te2_7 = new qx.ui.tree.TreeFolder("Personal");  var te2_7_1 = new qx.ui.tree.TreeFolder("Bugs");  var te2_7_2 = new qx.ui.tree.TreeFolder("Family");  var te2_7_3 = new qx.ui.tree.TreeFolder("Projects");  var te2_7_4 = new qx.ui.tree.TreeFolder("Holiday");  te2_7.add(te2_7_1, te2_7_2, te2_7_3, te2_7_4);  var te2_8 = new qx.ui.tree.TreeFolder("Big");  for (var i = 0; i < 50; i++) {    te2_8.add(new qx.ui.tree.TreeFolder("Item " + i));  }  var te2_9 = new qx.ui.tree.TreeFolder("Spam");  te2.add(te2_1, te2_2, te2_3, te2_4, te2_5, te2_6, te2_7, te2_8, te2_9);  // Command frame  var commandFrame = new qx.ui.groupbox.GroupBox("Control");  commandFrame.set({ width:"auto", height:"auto" });  main.add(commandFrame);  var command = new qx.ui.layout.VerticalBoxLayout;  command.set({ width:"auto", height:"auto", paddingRight:12 });  commandFrame.add(command);  var tCurrentLabel = new qx.ui.basic.Atom("Current Folder: ");  command.add(tCurrentLabel);  var tCurrentInput = new qx.ui.form.TextField;  tCurrentInput.set({ readOnly:true, marginBottom:20 });  command.add(tCurrentInput);  t.getManager().addEventListener("changeSelection", function(e) {    tCurrentInput.setValue(e.getData()[0]._labelObject.getHtml());  });  var tDoubleClick = new qx.ui.form.CheckBox("Use double click?");  tDoubleClick.addEventListener("changeChecked", function(e) {    t.setUseDoubleClick(e.getData());  });  command.add(tDoubleClick);  var tTreeLines = new qx.ui.form.CheckBox("Use tree lines?");  tTreeLines.setChecked(true);  tTreeLines.addEventListener("changeChecked", function(e) { t.setUseTreeLines(e.getData()); });  command.add(tTreeLines);  return main;}
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/cb42cfa1cf530e2ac86708c191464c68fa4344fd/AllInOneDemo.js/clean/qooxdoo/frontend/demo/source/html/allinone/AllInOneDemo.js