Interface IDtProjectManager


  • public interface IDtProjectManager
    Manages available IDtProject being registered at the moment
    • Method Detail

      • getDtProject

        IDtProject getDtProject​(org.eclipse.core.resources.IProject project)
        Gets the IDtProject associated with IProject
        Parameters:
        project - The IProject to get the IDtProject for. May be null only in case if data incosistency of the project lifecycle
        Returns:
        matching IDtProject
      • getDtProject

        IDtProject getDtProject​(String projectName)
        Gets the IDtProject associated with the specified project name.
        Just a while the projectName is a project name.
        Parameters:
        projectName - The project name to get the IDtProject for. May be null only in case if data incosistency of the project lifecycle.
        Returns:
        matching IDtProject or null if there is no matching instance.
      • getProject

        org.eclipse.core.resources.IProject getProject​(IDtProject dtProject)
        Gets the IProject associated with IDtProject
        Parameters:
        dtProject - The IDtProject to get the IProject for. May be null for non-workspace projects
        Returns:
        The matching IProject if presents. May be null for non-workspace projects
      • isProjectActive

        boolean isProjectActive​(IDtProject dtProject)
        Checks if the given project is active
        Parameters:
        dtProject - Target IDtProject. May not be null
        Returns:
        True if the project is active