PluginManager/PluginManager.py

changeset 5223
4c0b3ee7d2d8
parent 4798
ee1a24311b03
child 5236
9487d3fbb71e
equal deleted inserted replaced
5219:cfee0406da8e 5223:4c0b3ee7d2d8
898 if hasattr(module, "apiFiles"): 898 if hasattr(module, "apiFiles"):
899 apis.extend(module.apiFiles(language)) 899 apis.extend(module.apiFiles(language))
900 900
901 return apis 901 return apis
902 902
903 def getPluginQtHelpFiles(self):
904 """
905 Public method to get the list of QtHelp documentation files provided
906 by a plug-in.
907
908 @return dictionary with documentation type as key and list of files
909 as value
910 @rtype dict (key: str, value: list of str)
911 """
912 helpFiles = {}
913 for module in list(self.__activeModules.values()) + \
914 list(self.__onDemandActiveModules.values()):
915 if hasattr(module, "helpFiles"):
916 helpFiles.update(module.helpFiles())
917
918 return helpFiles
919
903 def getPluginExeDisplayData(self): 920 def getPluginExeDisplayData(self):
904 """ 921 """
905 Public method to get data to display information about a plugins 922 Public method to get data to display information about a plugins
906 external tool. 923 external tool.
907 924

eric ide

mercurial