Interface IV8ProjectProvider


  • public interface IV8ProjectProvider
    The V8 project provider.

    It operates with IProject entries that relate to one of V8 projects (have appropriate V8 natures):

    • Configuration project, nature=com._1c.g5.v8.dt.core.V8ConfigurationNature
    • Exernal object project, nature=com._1c.g5.v8.dt.core.V8ExternalObjectsNature
    • Extension project, nature=com._1c.g5.v8.dt.core.V8ExtensionNature

    It provides information based on project manifests.

    • Method Detail

      • getDependentProjects

        Collection<IDtProject> getDependentProjects​(IDtProject project)
        Returns the dependent projects for the specified one.

        Collects dependent (extension and external object) projects that have a base project set to the given one.

        Returns empty collection if the given project is not a configuration project.

        Parameters:
        project - the project, cannot be null.
        Returns:
        the dependent projects, never null.
      • getDependentProjects

        Collection<org.eclipse.core.resources.IProject> getDependentProjects​(org.eclipse.core.resources.IProject project)
        Returns the dependent projects for the specified one.

        Collects dependent (extension and external object) projects that have a base project set to the given one.

        Returns empty collection if the given project is not a configuration project.

        Parameters:
        project - the project, cannot be null.
        Returns:
        the dependent projects, never null.
      • getBaseProject

        Optional<org.eclipse.core.resources.IProject> getBaseProject​(org.eclipse.core.resources.IProject project)
        Finds and returns the base project for the specified project.

        Returns empty optional if the given project is not an extension/external object project or if it has no base project.

        Parameters:
        project - the project, cannot be null.
        Returns:
        the base project optional, never null.