code: @Deprecated
  	public void setSelectedItems(final List<WComponent> selectedItems) {
  		if (selectedItems == null || selectedItems.isEmpty()) {
  			setSelectedMenuItems(null);
  		} else {
  			List<MenuItemSelectable> items = new ArrayList(selectedItems);
  			setSelectedMenuItems(items);
  		}
  	}
docs: Sets the selected items (WMenuItems or WSubMenus, depending on the menu type).
  
  @param selectedItems the selected items.
  @deprecated Use {@link #setSelectedMenuItems(java.util.List)} instead.