org.aspectj.org.eclipse.jdt.internal.core
Class ExternalFoldersManager

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

public class ExternalFoldersManager
extends java.lang.Object


Method Summary
 IFolder addFolder(IPath externalFolderPath, boolean scheduleForCreation)
           
 void cleanUp(IProgressMonitor monitor)
           
 IProject createExternalFoldersProject(IProgressMonitor monitor)
           
 IFolder createLinkFolder(IPath externalFolderPath, boolean refreshIfExistAlready, IProgressMonitor monitor)
           
 void createPendingFolders(IProgressMonitor monitor)
           
static java.util.HashSet getExternalFolders(IClasspathEntry[] classpath)
           
static ExternalFoldersManager getExternalFoldersManager()
           
 IProject getExternalFoldersProject()
           
 IFolder getFolder(IPath externalFolderPath)
           
static boolean isExternalFolderPath(IPath externalPath)
           
static boolean isInternalPathForExternalFolder(IPath resourcePath)
           
 void refreshReferences(IProject[] sourceProjects, IProgressMonitor monitor)
           
 void refreshReferences(IProject source, IProgressMonitor monitor)
           
 IFolder removeFolder(IPath externalFolderPath)
           
 boolean removePendingFolder(java.lang.Object externalPath)
          Try to remove the argument from the list of folders pending for creation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getExternalFoldersManager

public static ExternalFoldersManager getExternalFoldersManager()

getExternalFolders

public static java.util.HashSet getExternalFolders(IClasspathEntry[] classpath)

isExternalFolderPath

public static boolean isExternalFolderPath(IPath externalPath)

isInternalPathForExternalFolder

public static boolean isInternalPathForExternalFolder(IPath resourcePath)

addFolder

public IFolder addFolder(IPath externalFolderPath,
                         boolean scheduleForCreation)

removePendingFolder

public boolean removePendingFolder(java.lang.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 IFolder createLinkFolder(IPath externalFolderPath,
                                boolean refreshIfExistAlready,
                                IProgressMonitor monitor)
                         throws CoreException
Throws:
CoreException

createPendingFolders

public void createPendingFolders(IProgressMonitor monitor)
                          throws JavaModelException
Throws:
JavaModelException

cleanUp

public void cleanUp(IProgressMonitor monitor)
             throws CoreException
Throws:
CoreException

getExternalFoldersProject

public IProject getExternalFoldersProject()

createExternalFoldersProject

public IProject createExternalFoldersProject(IProgressMonitor monitor)
                                      throws CoreException
Throws:
CoreException

getFolder

public IFolder getFolder(IPath externalFolderPath)

refreshReferences

public void refreshReferences(IProject[] sourceProjects,
                              IProgressMonitor monitor)

refreshReferences

public void refreshReferences(IProject source,
                              IProgressMonitor monitor)

removeFolder

public IFolder removeFolder(IPath externalFolderPath)