def getOptionsBoxPackageNameInfo(cls, prevChoices):
     core = HtmlCore()
     core.divBegin(divClass='infomessagesmall')
     core.append('Package name selected: ')
     core.emphasize(cls._getProtoToolPackageName(prevChoices))
     core.divEnd()
     return '__rawstr__', str(core)
 def getOptionsBoxPackageNameInfo(cls, prevChoices):
     core = HtmlCore()
     core.divBegin(divClass='infomessagesmall')
     core.append('Package name selected: ')
     core.emphasize(cls._getProtoToolPackageName(prevChoices))
     core.line('')
     core.line('')
     core.append('To import tool, use equivalent package name: ')
     core.emphasize(cls._getProtoToolSymlinkedPackageName(prevChoices))
     core.divEnd()
     return '__rawstr__', str(core)
 def getOptionsBoxError(cls, prevChoices):
     if prevChoices.tool != cls.SELECT_TEXT:
         try:
             import_module(prevChoices.tool)
         except Exception:
             core = HtmlCore()
             core.divBegin(divClass='infomessagesmall')
             core.smallHeader('Exception traceback:')
             core.preformatted(traceback.format_exc())
             core.divEnd()
             return '__rawstr__', str(core)