Package com._1c.g5.v8.dt.platform.xdto
Class XdtoDefaultItemsLoader
java.lang.Object
com._1c.g5.v8.dt.platform.xdto.XdtoDefaultItemsLoader
Implementation of
IResourceLoader
loading xdto default elements provided by 1C:Enterprise 8 platform.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
collectResources
(Collection<org.eclipse.emf.common.util.URI> destination, String pathToXdtoFolder, String pluginId) Collects resources this provider works with.protected static void
requestObjectTypeData
(IEObjectDataRequestorExtention req, String pathToXdtoFolder, Collection<String> skipPackages, String pluginId) Add all object types from all default xdto packages toreq
protected static void
requestPackageData
(IEObjectDataRequestorExtention req, String pathToXdtoFolder, Collection<String> skipPackages, String pluginId) Add all packages from all default xdto packages toreq
protected static void
requestPropertyData
(IEObjectDataRequestorExtention req, String pathToXdtoFolder, Collection<String> skipPackages, String pluginId) Add all property from all default xdto packages toreq
protected static void
requestValueTypeData
(IEObjectDataRequestorExtention req, String pathToXdtoFolder, Collection<String> skipPackages, String pluginId) Add all value types from all default xdto packages toreq
-
Constructor Details
-
XdtoDefaultItemsLoader
public XdtoDefaultItemsLoader()
-
-
Method Details
-
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 benull
.pathToXdtoFolder
- path to folder with xdto, it's relative path by plugin folder, can't benull
pluginId
- The indentifier of the specific version support bundle, can't benull
-
requestPropertyData
protected static void requestPropertyData(IEObjectDataRequestorExtention req, String pathToXdtoFolder, Collection<String> skipPackages, String pluginId) Add all property from all default xdto packages toreq
- Parameters:
req
- saves property of default xdto packages, can't benull
pathToXdtoFolder
- path to folder with xdto, it's relative path by plugin folder, can't benull
skipPackages
- NS-uri not indexing xdto packages, can't benull
pluginId
- The indentifier of the specific version support bundle, can't benull
-
requestValueTypeData
protected static void requestValueTypeData(IEObjectDataRequestorExtention req, String pathToXdtoFolder, Collection<String> skipPackages, String pluginId) Add all value types from all default xdto packages toreq
- Parameters:
req
- saves value types of default xdto packages, can't benull
pathToXdtoFolder
- path to folder with xdto, it's relative path by plugin folder, can't benull
skipPackages
- NS-uri not indexing xdto packages, can't benull
pluginId
- The indentifier of the specific version support bundle, can't benull
-
requestObjectTypeData
protected static void requestObjectTypeData(IEObjectDataRequestorExtention req, String pathToXdtoFolder, Collection<String> skipPackages, String pluginId) Add all object types from all default xdto packages toreq
- Parameters:
req
- saves object types of default xdto packages, can't benull
pathToXdtoFolder
- path to folder with xdto, it's relative path by plugin folder, can't benull
skipPackages
- NS-uri not indexing xdto packages, can't benull
pluginId
- The indentifier of the specific version support bundle, can't benull
-
requestPackageData
protected static void requestPackageData(IEObjectDataRequestorExtention req, String pathToXdtoFolder, Collection<String> skipPackages, String pluginId) Add all packages from all default xdto packages toreq
- Parameters:
req
- saves packages of default xdto packages, can't benull
pathToXdtoFolder
- path to folder with xdto, it's relative path by plugin folder, can't benull
skipPackages
- NS-uri not indexing xdto packages, can't benull
pluginId
- The indentifier of the specific version support bundle, can't benull
-