Klasse ExternalFoldersManager

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

public class ExternalFoldersManager extends Object
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    org.eclipse.core.resources.IFolder
    addFolder(org.eclipse.core.runtime.IPath externalFolderPath, boolean scheduleForCreation)
     
    void
    cleanUp(org.eclipse.core.runtime.IProgressMonitor monitor)
     
    org.eclipse.core.resources.IProject
    createExternalFoldersProject(org.eclipse.core.runtime.IProgressMonitor monitor)
     
    org.eclipse.core.resources.IFolder
    createLinkFolder(org.eclipse.core.runtime.IPath externalFolderPath, boolean refreshIfExistAlready, org.eclipse.core.runtime.IProgressMonitor monitor)
     
    void
    createPendingFolders(org.eclipse.core.runtime.IProgressMonitor monitor)
     
    static Set<org.eclipse.core.runtime.IPath>
    Returns a set of external paths to external folders referred to on the given classpath.
     
    org.eclipse.core.resources.IProject
     
    org.eclipse.core.resources.IFolder
    getFolder(org.eclipse.core.runtime.IPath externalFolderPath)
     
    static boolean
    isExternalFolderPath(org.eclipse.core.runtime.IPath externalPath)
    Returns true if the provided path is a folder external to the project.
    static boolean
    isInternalPathForExternalFolder(org.eclipse.core.runtime.IPath resourcePath)
     
    void
    refreshReferences(org.eclipse.core.resources.IProject[] sourceProjects, org.eclipse.core.runtime.IProgressMonitor monitor)
     
    void
    refreshReferences(org.eclipse.core.resources.IProject source, org.eclipse.core.runtime.IProgressMonitor monitor)
     
    org.eclipse.core.resources.IFolder
    removeFolder(org.eclipse.core.runtime.IPath externalFolderPath)
     
    boolean
    Try to remove the argument from the list of folders pending for creation.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Methodendetails

    • 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.
      Parameter:
      externalPath - to link to
      Gibt zurück:
      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
      Löst aus:
      org.eclipse.core.runtime.CoreException
    • createPendingFolders

      public void createPendingFolders(org.eclipse.core.runtime.IProgressMonitor monitor) throws JavaModelException
      Löst aus:
      JavaModelException
    • cleanUp

      public void cleanUp(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Löst aus:
      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
      Löst aus:
      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)