protected function setTitleEditProductClass()
    {
        if (isset($this->data_product_class['product_class_id'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_product_class['title']));
        } else {
            $title = $this->text('Add product class');
        }

        $this->setTitle($title);
    }