/**
  * Sets parameters for this editor
  *
  * @param  cbObject|Table  $object  The data object
  * @return void
  */
 public function setAllParams($object)
 {
     $array = array();
     $isStorage = $object instanceof TableInterface || $object instanceof comprofilerDBTable;
     if ($isStorage) {
         $keys = $object->getPublicProperties();
         foreach ($keys as $k) {
             $array[$k] = $object->{$k};
         }
     } else {
         $array = (array) $object;
     }
     $registry = new Registry($array);
     if ($isStorage) {
         $registry->setStorage($object);
     }
     $this->registryEditController->setRegistry($registry);
 }