protected function handleIcon(Infoset $info, Tag $tabElement) {
		switch ($info->getIconType()) {
			case Infoset::ICON_ASSET:
				$icon = Icons::getIcon($info->getIconSource());
				$tabElement->addClass('hasicon');
				$tabElement->addStyle('background-image', "url($icon)");
				return;
			
			case Infoset::ICON_BASE64:
				$icon = $info->getIconSource();
				$tabElement->addClass('hasicon');
				$tabElement->addStyle('background-image', "url($icon)");
				return;
		}
	}