def get_system_extensions(self):
     """Return system extensions
     """
     names = extensionRegistry.get_names()
     for name in sorted(names):
         extension = extensionRegistry.get_extension(name)
         if interfaces.ISystemExtension.providedBy(extension):
             yield extension
 def get_system_extensions(self):
     """Return system extensions
     """
     names = extensionRegistry.get_names()
     for name in sorted(names):
         extension = extensionRegistry.get_extension(name)
         if interfaces.ISystemExtension.providedBy(extension):
             yield extension
 def get_extensions(self):
     """Return non-system extensions
     """
     names = extensionRegistry.get_names()
     get_extension = extensionRegistry.get_extension
     root = self.context.get_root()
     for name in names:
         extension = get_extension(name)
         if not interfaces.ISystemExtension.providedBy(extension):
             yield {
                 'info': extension,
                 'is_installed': extension.installer.is_installed(root, extension),
                 'dependencies': map(get_extension, extension.depends)}
 def get_extensions(self):
     """Return non-system extensions
     """
     names = extensionRegistry.get_names()
     get_extension = extensionRegistry.get_extension
     root = self.context.get_root()
     for name in names:
         extension = get_extension(name)
         if not interfaces.ISystemExtension.providedBy(extension):
             yield {
                 'info':
                 extension,
                 'is_installed':
                 extension.installer.is_installed(root, extension),
                 'dependencies':
                 map(get_extension, extension.depends)
             }
 def refresh_all(self):
     """Refreshes all extensions
     """
     for name in extensionRegistry.get_names():
         if self.is_installed(name):
             self.refresh(name)
 def refresh_all(self):
     """Refreshes all extensions
     """
     for name in extensionRegistry.get_names():
         if self.is_installed(name):
             self.refresh(name)