protected function setTitleEditTrigger()
    {
        if (isset($this->data_trigger['name'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_trigger['name']));
        } else {
            $title = $this->text('Add trigger');
        }

        $this->setTitle($title);
    }