public function addParsedObject($object)
{
// Do not add items from template if items are loaded from viewstate
if (!$this->_stateLoaded && $object instanceof TListItem) {
$object->setSelected(false);
$index = $this->_listControl->getItems()->add($object);
}
}