Package com._1c.g5.v8.dt.xdto.resource
Interface ICurrentConfigurationPackageProvider
-
- All Known Implementing Classes:
CurrentConfigurationPackageProvider
public interface ICurrentConfigurationPackageProvider
Interface of provider for working withPackage
with uri "http://v8.1c.ru/8.1/data/enterprise/current-config" and its elements. Contains methods for creatingPackage
and filling it and has possibility of creating file with content of thePackage
. Also has special methods for creatingIScope
by thisPackage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearCachedScope()
Clears cachingIScope
.void
deleteCurrentConfigPackage(String projectName)
Deletes file with content ofPackage
with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"Package
getCurrentConfigPackage(org.eclipse.core.resources.IProject project)
GetsPackage
with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"org.eclipse.xtext.scoping.IScope
getScope(org.eclipse.emf.ecore.resource.Resource context, org.eclipse.emf.ecore.EReference reference)
Gets actualIScope
of the element fromPackage
with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"void
loadCurrentConfigResource(CurrentConfigXdtoResource resource)
Loads resource forPackage
with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"void
saveCurrentConfigResource(CurrentConfigXdtoResource resource)
Saves resource forPackage
with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"
-
-
-
Method Detail
-
clearCachedScope
void clearCachedScope()
Clears cachingIScope
. This method should be called each time when content of the configuration object was changed
-
getScope
org.eclipse.xtext.scoping.IScope getScope(org.eclipse.emf.ecore.resource.Resource context, org.eclipse.emf.ecore.EReference reference)
Gets actualIScope
of the element fromPackage
with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"- Parameters:
context
- context resource for creatingIScope
, can't benull
reference
-EReference
for detect type of the elements inIScope
, can't benull
- Returns:
- actual
IScope
of the element fromPackage
with uri "http://v8.1c.ru/8.1/data/enterprise/current-config", nevernull
-
getCurrentConfigPackage
Package getCurrentConfigPackage(org.eclipse.core.resources.IProject project)
GetsPackage
with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"
-
loadCurrentConfigResource
void loadCurrentConfigResource(CurrentConfigXdtoResource resource)
Loads resource forPackage
with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"- Parameters:
resource
- loadingCurrentConfigXdtoResource
, can't benull
-
saveCurrentConfigResource
void saveCurrentConfigResource(CurrentConfigXdtoResource resource)
Saves resource forPackage
with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"- Parameters:
resource
- savingCurrentConfigXdtoResource
, can't benull
-
-