def METHOD_NAME(self, app: App):
    logger.info(f'Enable plugins that are scaned. total: {len(self._plugins)} ')
    for plugin in self._plugins.values():
        # Try to enbale the plugin.
        self.about_to_enable.emit(plugin)
        try:
            plugin.enable(app)
        except Exception:  # noqa
            logger.exception(f'Enable plugin:{plugin.name} failed')
    self.scan_finished.emit(list(self._plugins.values()))