Interface IProductVersionManager


  • @Deprecated
    public interface IProductVersionManager
    Deprecated.
    Since 1.10
    Manages versions of the EDT product.
    EDT project stores the version of the EDT product being used during it's creation (or latest update) in order to track changes during updates, etc.
    • Method Detail

      • getProductVersion

        org.osgi.framework.Version getProductVersion()
        Deprecated.
        Gets the current product version.
        Returns:
        The version of the product.
      • getProjectOriginVersion

        org.osgi.framework.Version getProjectOriginVersion​(org.eclipse.core.resources.IProject project)
        Deprecated.
        Gets the current origin product version of the EDT project.
        Parameters:
        project - The EDT project to get associated product version from. Cannot be null.
        Returns:
        The origin version of the project.
      • setProjectOriginVersion

        void setProjectOriginVersion​(org.eclipse.core.resources.IProject project,
                                     org.osgi.framework.Version version)
                              throws org.eclipse.core.runtime.CoreException
        Deprecated.
        Sets the version of the product in the EDT project. The version is used to determine the version of the product being used during the creation (or latest required update) of the project.
        Parameters:
        project - The project to set the origin version. Cannot be null.
        version - The version to set. Cannot be null.
        Throws:
        org.eclipse.core.runtime.CoreException - In case if update encountered an error.