def _get_contributed_ui_service_factory(self):

        # Retrieve all the factory definition contributions
        extensions = self.get_extensions('envisage.ui.single_project.ui_service_factory')

        # Find the winning contribution
        definition = None
        for extension in extensions:
            if not definition or extension.priority > definition.priority:
                definition = extension

        # Create an instance of the winning factory
        logger.info("Using UiService Factory [%s]", definition.class_name)
        class_name = definition.class_name
        klass = self.application.import_symbol(class_name)
        factory = klass()

        return factory
Retrieves the instance of the UiService factory to use with this
dataset/ETHPy150Open enthought/envisage/envisage/ui/single_project/project_plugin.py/ProjectPlugin._get_contributed_ui_service_factory