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 voidcollectResources(Collection<org.eclipse.emf.common.util.URI> destination, String pathToXdtoFolder, String pluginId) Collects resources this provider works with.protected static voidrequestObjectTypeData(IEObjectDataRequestorExtention req, String pathToXdtoFolder, Collection<String> skipPackages, String pluginId) Add all object types from all default xdto packages toreqprotected static voidrequestPackageData(IEObjectDataRequestorExtention req, String pathToXdtoFolder, Collection<String> skipPackages, String pluginId) Add all packages from all default xdto packages toreqprotected static voidrequestPropertyData(IEObjectDataRequestorExtention req, String pathToXdtoFolder, Collection<String> skipPackages, String pluginId) Add all property from all default xdto packages toreqprotected static voidrequestValueTypeData(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 benullpluginId- 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 benullpathToXdtoFolder- path to folder with xdto, it's relative path by plugin folder, can't benullskipPackages- NS-uri not indexing xdto packages, can't benullpluginId- 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 benullpathToXdtoFolder- path to folder with xdto, it's relative path by plugin folder, can't benullskipPackages- NS-uri not indexing xdto packages, can't benullpluginId- 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 benullpathToXdtoFolder- path to folder with xdto, it's relative path by plugin folder, can't benullskipPackages- NS-uri not indexing xdto packages, can't benullpluginId- 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 benullpathToXdtoFolder- path to folder with xdto, it's relative path by plugin folder, can't benullskipPackages- NS-uri not indexing xdto packages, can't benullpluginId- The indentifier of the specific version support bundle, can't benull
-