rem: o.addEventListener("changeSelection", fsm.eventListener, fsm); 
add: o.addEventListener("changeSelected", fsm.eventListener, fsm); 
context: qx.Proto.buildGui = function(module){  var o;  var fsm = module.fsm;  // We need a horizontal box layout for the database name  var hlayout = new qx.ui.layout.HorizontalBoxLayout();  hlayout.set({                  top: 20,                  left: 20,                  right: 20,                  height: 30              });  // Create a label for the database name  o = new qx.ui.basic.Atom("Database:");  o.setWidth(100);  o.setHorizontalChildrenAlign("right");  // Add the label to the horizontal layout  hlayout.add(o);  // Create a combo box for for the database name  o = new qx.ui.form.ComboBox();  o.getField().setWidth("100%");  o.setEditable(false);  // Add our global database name (the only option, for now)  var item = new qx.ui.form.ListItem(module.dbFile);  o.add(item);    // We want to be notified if the selection changes  o.addEventListener("changeSelection", fsm.eventListener, fsm);  // Save the database name object so we can react to changes  fsm.addObject("dbName", o);      // Add the combo box to the horizontal layout  hlayout.add(o);  // Add the database name selection to the canvas  module.canvas.add(hlayout);  // Create and position the tabview  var tabView_ = new qx.ui.pageview.tabview.TabView;  tabView_.set({                   top: 60,                   left: 20,                   right: 20,                   bottom: 20               });  // Create each of the tabs  var tabView_Browse =  new qx.ui.pageview.tabview.Button("Browse");  var tabView_Search =  new qx.ui.pageview.tabview.Button("Search");  // Specify the initially-selected tab  tabView_Browse.setChecked(true);  // Add each of the tabs to the tabview  tabView_.getBar().add(tabView_Browse, tabView_Search);  // Create the pages to display when each tab is selected  var tabViewPage_Browse =  new qx.ui.pageview.tabview.Page(tabView_Browse);  var tabViewPage_Search =  new qx.ui.pageview.tabview.Page(tabView_Search);  // Build the browse page  this._buildPageBrowse(module, tabViewPage_Browse);  // Build the search page  this._buildPageSearch(module, tabViewPage_Search);  // Add the pages to the tabview  tabView_.getPane().add(tabViewPage_Browse, tabViewPage_Search);  // Add the tabview to our canvas  module.canvas.add(tabView_);};
meta: 5771	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5771/c0b76be62fda2c379c5a5b2e682de2929d0ba7dd/Gui.js/buggy/webapps/swat/source/class/swat/module/ldbbrowse/Gui.js