<?php

/*
 * @author     M2E Pro Developers Team
 * @copyright  M2E LTD
 * @license    Commercial use is forbidden
 */

abstract class Ess_M2ePro_Block_Adminhtml_Wizard_InstallationEbay_Installation
    extends Ess_M2ePro_Block_Adminhtml_Wizard_Installation
{
    //########################################

    protected function _beforeToHtml()
    {
        parent::_beforeToHtml();

        $this->updateButton('continue', 'onclick', 'InstallationEbayWizardObj.continueStep();');
    }

    protected function getHeaderTextHtml()
    {
        return Mage::helper('M2ePro')->__('Configuration of eBay Integration');
    }

    protected function _prepareLayout()
    {
        Mage::helper('M2ePro/View')->getJsRenderer()->addOnReadyJs(<<<JS
    InstallationEbayWizardObj = new WizardInstallationEbay();
JS
        );

        return parent::_prepareLayout();
    }

    //########################################
}
