context: qx.Proto.setItems = function( items ) {  // TODO [rh] preserving selection and focus does not work properly  var manager = this.getManager();  var oldLeadItem = manager.getLeadItem();  var oldAnchorItem = manager.getAnchorItem();  var oldSelection = manager.getSelectedItems();  this.removeAll();  // TODO [rh] improve: replace existing items with new string and  //      add/remove only what's left  for( var i = 0; i < items.length; i++ ) {    this.add( new qx.ui.form.ListItem( items[ i ] ) );  }  manager.setSelectedItems( oldSelection );  manager.setLeadItem( oldLeadItem );  if( manager.getMultiSelection() ) {    manager.setAnchorItem( oldAnchorItem );  }}
meta: 8114	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8114/fa51f756944ec068ab76dad51ef36628a6849381/List.js/clean/bundles/org.eclipse.rap.rwt/js/org/eclipse/rap/rwt/widgets/List.js