<?php

namespace ModulesGarden\Servers\ZimbraEmail\App\UI\Client\Ressource\Buttons;


use ModulesGarden\Servers\ZimbraEmail\App\UI\Client\Ressource\Modals\EditRessourceModal;
use \ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Buttons\ButtonDataTableModalAction;
use ModulesGarden\Servers\ZimbraEmail\App\UI\Client\Ressource\Modals\AddRessourceModal;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Buttons\ButtonCustomAction;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Buttons\ButtonModal;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Buttons\DropdawnButtonWrappers\ButtonDropdownItem;

/**
 *
 * Created by PhpStorm.
 * User: Tomasz Bielecki ( tomasz.bi@modulesgarden.com )
 * Date: 18.09.19
 * Time: 09:29
 * Class EditRessourceButton
 */
class EditRessourceButton extends ButtonDataTableModalAction implements ClientArea
{
    protected $id    = 'editRessourceButton';
    protected $title = 'editRessourceButton';

    public function initContent()
    {
        $this->initLoadModalAction(new EditRessourceModal());
    }

}