public void select(IWorkbenchPartReference toSelect) {
		if(toSelect == null)
			return;
		
		clearSelection();
		
		for (int i = 0; i < listItems.size(); i++) {
			TabListItemWidget listItem = listItems.get(i);
			if(listItem.has(toSelect)) {
				selectedIndex = i;
				if(selectedItem != null)
					selectedItem.deselect();
				
				selectedItem = listItem;
				selectedItem.select();
				return;
			}			
		}
	}