Interface ICurrentConfigurationPackageProvider

All Known Implementing Classes:
CurrentConfigurationPackageProvider

public interface ICurrentConfigurationPackageProvider
Interface of provider for working with Package with uri "http://v8.1c.ru/8.1/data/enterprise/current-config" and its elements. Contains methods for creating Package and filling it and has possibility of creating file with content of the Package. Also has special methods for creating IScope by this Package
  • Method Details

    • clearCachedScope

      void clearCachedScope()
      Clears caching IScope. 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 actual IScope of the element from Package with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"
      Parameters:
      context - context resource for creating IScope, can't be null
      reference - EReference for detect type of the elements in IScope, can't be null
      Returns:
      actual IScope of the element from Package with uri "http://v8.1c.ru/8.1/data/enterprise/current-config", never null
    • getCurrentConfigPackage

      Package getCurrentConfigPackage(org.eclipse.core.resources.IProject project)
      Gets Package with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"
      Parameters:
      project - context IProject for getting Package, can't be null
      Returns:
      Package with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"
    • loadCurrentConfigResource

      void loadCurrentConfigResource(CurrentConfigXdtoResource resource)
      Loads resource for Package with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"
      Parameters:
      resource - loading CurrentConfigXdtoResource, can't be null
    • saveCurrentConfigResource

      void saveCurrentConfigResource(CurrentConfigXdtoResource resource)
      Saves resource for Package with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"
      Parameters:
      resource - saving CurrentConfigXdtoResource, can't be null
    • deleteCurrentConfigPackage

      void deleteCurrentConfigPackage(String projectName)
      Deletes file with content of Package with uri "http://v8.1c.ru/8.1/data/enterprise/current-config"
      Parameters:
      projectName - name of the context project for deleting file, can't be null