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 Detail

      • 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"
      • 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