def _get_extension_point_trait(self, plugin, id):

        extension_point_traits = plugin.traits(__extension_point__=True)

        for trait_name, trait in extension_point_traits.items():
            if trait.trait_type.id == id:
                break

        else:
            trait_name = None

        return trait_name
Return the extension point trait with the specifed Id.
dataset/ETHPy150Open enthought/envisage/envisage/developer/ui/view/extension_registry_browser.py/ExtensionRegistryBrowser._get_extension_point_trait