Class ExternalFoldersManager

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.ExternalFoldersManager

public class ExternalFoldersManager extends Object
  • Method Details

    • getExternalFoldersManager

      public static ExternalFoldersManager getExternalFoldersManager()
    • getExternalFolders

      public static Set<org.eclipse.core.runtime.IPath> getExternalFolders(IClasspathEntry[] classpath)
      Returns a set of external paths to external folders referred to on the given classpath. Returns null if there are none.
    • isExternalFolderPath

      public static boolean isExternalFolderPath(org.eclipse.core.runtime.IPath externalPath)
      Returns true if the provided path is a folder external to the project. The path is expected to be one matching the IClasspathEntry.CPE_LIBRARY case in IClasspathEntry.getPath() definition.
    • isInternalPathForExternalFolder

      public static boolean isInternalPathForExternalFolder(org.eclipse.core.runtime.IPath resourcePath)
    • addFolder

      public org.eclipse.core.resources.IFolder addFolder(org.eclipse.core.runtime.IPath externalFolderPath, boolean scheduleForCreation)
    • removePendingFolder

      public boolean removePendingFolder(Object externalPath)
      Try to remove the argument from the list of folders pending for creation.
      Parameters:
      externalPath - to link to
      Returns:
      true if the argument was found in the list of pending folders and could be removed from it.
    • createLinkFolder

      public org.eclipse.core.resources.IFolder createLinkFolder(org.eclipse.core.runtime.IPath externalFolderPath, boolean refreshIfExistAlready, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Throws:
      org.eclipse.core.runtime.CoreException
    • createPendingFolders

      public void createPendingFolders(org.eclipse.core.runtime.IProgressMonitor monitor) throws JavaModelException
      Throws:
      JavaModelException
    • cleanUp

      public void cleanUp(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Throws:
      org.eclipse.core.runtime.CoreException
    • getExternalFoldersProject

      public org.eclipse.core.resources.IProject getExternalFoldersProject()
    • createExternalFoldersProject

      public org.eclipse.core.resources.IProject createExternalFoldersProject(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Throws:
      org.eclipse.core.runtime.CoreException
    • getFolder

      public org.eclipse.core.resources.IFolder getFolder(org.eclipse.core.runtime.IPath externalFolderPath)
    • refreshReferences

      public void refreshReferences(org.eclipse.core.resources.IProject[] sourceProjects, org.eclipse.core.runtime.IProgressMonitor monitor)
    • refreshReferences

      public void refreshReferences(org.eclipse.core.resources.IProject source, org.eclipse.core.runtime.IProgressMonitor monitor)
    • removeFolder

      public org.eclipse.core.resources.IFolder removeFolder(org.eclipse.core.runtime.IPath externalFolderPath)