Class XdtoDefaultItemsLoader


  • public class XdtoDefaultItemsLoader
    extends Object
    Implementation of IResourceLoader loading xdto default elements provided by 1C:Enterprise 8 platform.
    • Constructor Detail

      • XdtoDefaultItemsLoader

        public XdtoDefaultItemsLoader()
    • Method Detail

      • collectResources

        protected static void collectResources​(Collection<org.eclipse.emf.common.util.URI> destination,
                                               String pathToXdtoFolder,
                                               String pluginId)
        Collects resources this provider works with.
        Parameters:
        destination - destination collection to add the resources to, can't be null.
        pathToXdtoFolder - path to folder with xdto, it's relative path by plugin folder, can't be null
        pluginId - The indentifier of the specific version support bundle, can't be null
      • requestPropertyData

        protected static void requestPropertyData​(IEObjectDataRequestorExtention req,
                                                  String pathToXdtoFolder,
                                                  Collection<String> skipPackages,
                                                  String pluginId)
        Add all property from all default xdto packages to req
        Parameters:
        req - saves property of default xdto packages, can't be null
        pathToXdtoFolder - path to folder with xdto, it's relative path by plugin folder, can't be null
        skipPackages - NS-uri not indexing xdto packages, can't be null
        pluginId - The indentifier of the specific version support bundle, can't be null
      • requestValueTypeData

        protected static void requestValueTypeData​(IEObjectDataRequestorExtention req,
                                                   String pathToXdtoFolder,
                                                   Collection<String> skipPackages,
                                                   String pluginId)
        Add all value types from all default xdto packages to req
        Parameters:
        req - saves value types of default xdto packages, can't be null
        pathToXdtoFolder - path to folder with xdto, it's relative path by plugin folder, can't be null
        skipPackages - NS-uri not indexing xdto packages, can't be null
        pluginId - The indentifier of the specific version support bundle, can't be null
      • requestObjectTypeData

        protected static void requestObjectTypeData​(IEObjectDataRequestorExtention req,
                                                    String pathToXdtoFolder,
                                                    Collection<String> skipPackages,
                                                    String pluginId)
        Add all object types from all default xdto packages to req
        Parameters:
        req - saves object types of default xdto packages, can't be null
        pathToXdtoFolder - path to folder with xdto, it's relative path by plugin folder, can't be null
        skipPackages - NS-uri not indexing xdto packages, can't be null
        pluginId - The indentifier of the specific version support bundle, can't be null
      • requestPackageData

        protected static void requestPackageData​(IEObjectDataRequestorExtention req,
                                                 String pathToXdtoFolder,
                                                 Collection<String> skipPackages,
                                                 String pluginId)
        Add all packages from all default xdto packages to req
        Parameters:
        req - saves packages of default xdto packages, can't be null
        pathToXdtoFolder - path to folder with xdto, it's relative path by plugin folder, can't be null
        skipPackages - NS-uri not indexing xdto packages, can't be null
        pluginId - The indentifier of the specific version support bundle, can't be null