*/ class Mage_XmlConnect_Block_Adminhtml_Mobile_Edit_Tab_Design extends Mage_Adminhtml_Block_Template implements Mage_Adminhtml_Block_Widget_Tab_Interface { /** * Set design tab template * Set to show global icon */ public function __construct() { parent::__construct(); $this->setShowGlobalIcon(true); $this->setTemplate('xmlconnect/edit/tab/design.phtml'); } /** * Tab label getter * * @return string */ public function getTabLabel() { return $this->__('Design'); } /** * Tab title getter * * @return string */ public function getTabTitle() { return $this->__('Design'); } /** * Check if tab can be shown * * @return bool */ public function canShowTab() { return (bool) !Mage::getSingleton('adminhtml/session')->getNewApplication(); } /** * Check if tab hidden * * @return bool */ public function isHidden() { return false; } /** * Check if we have to show Preview Block * * @return bool */ public function canShowPreview() { return true; } }