Package com._1c.g5.v8.dt.platform.xdto
Class XdtoDefaultItemsLoader
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.xdto.XdtoDefaultItemsLoader
-
public class XdtoDefaultItemsLoader extends Object
Implementation ofIResourceLoader
loading xdto default elements provided by 1C:Enterprise 8 platform.
-
-
Constructor Summary
Constructors Constructor Description XdtoDefaultItemsLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
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 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
-
-