Interface ILibraryProjectResourceManager


  • public interface ILibraryProjectResourceManager
    The library project resource manager.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String SERVICE_NAME
      Service name.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void cleanUpDeletionMarkers​(org.eclipse.core.resources.IProject project)
      Cleans up all useless deletion markers in the project.
      Iterable<org.eclipse.core.runtime.IPath> getDeletedPaths​(org.eclipse.core.resources.IProject project)
      Gets all the library paths deleted in the project.
      boolean isProjectFile​(org.eclipse.core.resources.IFile file)
      Checks if the file is stored in project.
    • Method Detail

      • isProjectFile

        boolean isProjectFile​(org.eclipse.core.resources.IFile file)
        Checks if the file is stored in project. In case the project is not based on a library the behaviour of this method is not specified.
        Parameters:
        file - The file. May not be null.
        Returns:
        true if the file is overridden in the project, false otherwise.
      • getDeletedPaths

        Iterable<org.eclipse.core.runtime.IPath> getDeletedPaths​(org.eclipse.core.resources.IProject project)
        Gets all the library paths deleted in the project. In case the project is not based on a library the behaviour of this method is not specified.
        Parameters:
        project - The project. May not be null.
        Returns:
        all the library paths deleted in the project. Never null.
      • cleanUpDeletionMarkers

        void cleanUpDeletionMarkers​(org.eclipse.core.resources.IProject project)
                             throws IOException
        Cleans up all useless deletion markers in the project.
        Parameters:
        project - the project to clean up all useless deletion markers in, cannot be null
        Throws:
        IOException - if an I/O error occurs