Class PlatformTypesLoader


  • public class PlatformTypesLoader
    extends Object
    Implementation of IResourceLoader loading types provided by 1C:Enterprise 8 platform.
    • Constructor Detail

      • PlatformTypesLoader

        public PlatformTypesLoader()
    • Method Detail

      • collectResources

        protected static void collectResources​(Collection<org.eclipse.emf.common.util.URI> destination,
                                               String pathToTypesFolder,
                                               org.osgi.framework.Bundle bundle)
        Collects resources this provider works with.
        Parameters:
        destination - destination collection to add the resources to. May not be null.
        pathToTypesFolder - path to folder with types, it's relative path by plugin folder, can't be null
        bundle -
      • requestData

        protected static void requestData​(IEObjectDataRequestor req,
                                          String pathToTypesFolder,
                                          org.osgi.framework.Bundle bundle)
        Provides IEObjectDataRequestor with data describing resource contents.
        Parameters:
        req - requestor accepting data. Can't be null.
        pathToTypesFolder - path to folder with types, it's relative path by plugin folder, can't be null