def loadPlugins(self,callback=None):
        """
        Walk through the plugins' places and look for plugins.  Then
        for each plugin candidate look for its category, load it and
        stores it in the appropriate slot of the ``category_mapping``.
        """
        self._component.loadPlugins(callback)
        # now load the plugins according to the recorded configuration
        if self.config_parser.has_section(self.CONFIG_SECTION_NAME):
            # browse all the categories
            for category_name in list(self._component.category_mapping.keys()):
                # get the list of plugins to be activated for this
                # category
                option_name = "%s_plugins_to_load"%category_name
                if self.config_parser.has_option(self.CONFIG_SECTION_NAME,
                                                 option_name):
                    plugin_list_str = self.config_parser.get(self.CONFIG_SECTION_NAME,
                                                             option_name)
                    plugin_list = self.__getCategoryPluginsListFromConfig(plugin_list_str)
                    # activate all the plugins that should be
                    # activated
                    for plugin_name in plugin_list:
                        self.activatePluginByName(plugin_name,category_name)
dataset/ETHPy150Open datamachine/telex/telex/plugin/ConfigurablePluginManager.py/ConfigurablePluginManager.loadPlugins/original