Interface IV8Project

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
All Known Subinterfaces:
IConfigurationProject, IDependentProject, IExtensionProject, IExternalObjectProject, IV8InternalProject
All Known Implementing Classes:
AbstractDependentProject, ConfigurationProject, ExtensionProject, ExternalObjectProject

public interface IV8Project extends org.eclipse.core.runtime.IAdaptable
IV8Project represents handle of abstract V8 project. Generally, V8 projects are high level abstractions above workspace IProject that are aware of 1C:Enterprise domain data.

Each V8 project may contain metadata objects with types, defined by the specific V8 project type. Technically, V8 projects are containers for metadata objects with described meta information, such as 1C:Enterprise version to design these metadata objects for, script variant to use in Built-In language modules, etc.

V8 projects implement the IAdaptable interface, and extensions are managed by the platform's adapter manager, so clients may extend it.

Clients may use IV8ProjectManager to get instances of specific V8 projects, optionally, by project type. Clients may use specific V8 project type managers to create and manage instances of specific type V8 projects.

See Also:
  • Method Details

    • getProject

      org.eclipse.core.resources.IProject getProject()
      Returns underlying workspace IProject instance for this V8 project.
      Returns:
      underlying workspace IProject instance for this V8 project, never null
    • getDtProject

      IDtProject getDtProject()
      Returns underlying workspace IDtProject instance for this V8 project.
      Returns:
      underlying workspace IDtProject instance for this V8 project, never null
    • getVersion

      Version getVersion()
      Returns 1C:Enterprise runtime version of this V8 project. This version is equal to version, that is described in project manifest file.

      Version of the project means a version of 1C:Enterprise the project is developing for. All restrictions of version-dependent operations must be executed with respect to this version value.

      Returns:
      1C:Enterprise runtime version of this V8 project, never null
      See Also:
    • getCompatibilityMode

      CompatibilityMode getCompatibilityMode()
      Returns compatibility mode to use for restrictions in this V8 project.

      Compatibility mode may restrict some version-dependent operations additional to version restrictions and affect 1C:Enterprise runtime work.

      Returns:
      compatibility mode to use for restrictions in this V8 project, never null
    • getScriptVariant

      ScriptVariant getScriptVariant()
      Returns current script variant to use in Built-In language modules of this V8 project.
      Returns:
      current script variant to use in Built-In language modules of this V8 project, never null
    • getDefaultLanguage

      Language getDefaultLanguage()
      Returns current default language to use for metadata objects synonym definition for this V8 project. May return null.
      Returns:
      current default language to use for metadata objects synonym definition for this V8 project or null if not defined
    • getLanguages

      Collection<Language> getLanguages()
      Returns all languages that may be used for metadata objects synonym definition for this V8 project. The returned collection is immutable.
      Returns:
      all languages that may be used for metadata objects synonym definition for this V8 project, never null
    • getUsePurposes

      Returns all use purposes of this V8 project. The returned collection is immutable.
      Returns:
      all use purposes of this V8 project, never null