def METHOD_NAME(self, packages):
    package_paths = self.context_model.packages_path
    self.help_1 = PackageHelp(self.variant.name, paths=package_paths)
    self.tab.setTabEnabled(0, self.help_1.success)
    if self.help_1.success:
        self._apply_help(self.help_1, 0)
        label = "latest help (%s)" % self.help_1.package.qualified_name
        self.tab.setTabText(0, label)
    exact_range = VersionRange.from_version(self.variant.version, "==")
    self.help_2 = PackageHelp(self.variant.name, exact_range, paths=package_paths)
    self.tab.setTabEnabled(1, self.help_2.success)
    label = None
    if self.help_2.success:
        self._apply_help(self.help_2, 1)
        label = "help for %s"
    if label:
        self.tab.setTabText(1, label % self.help_2.package.qualified_name)
    if self.help_1.success or self.help_2.success:
        self.tab.show()
    else:
        self.no_help_label.show()