Klasse ExternalFoldersManager
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.ExternalFoldersManager
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.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>
getExternalFolders
(IClasspathEntry[] classpath) Returns a set of external paths to external folders referred to on the given classpath.static ExternalFoldersManager
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) Returnstrue
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
removePendingFolder
(Object externalPath) Try to remove the argument from the list of folders pending for creation.
-
Methodendetails
-
getExternalFoldersManager
-
getExternalFolders
Returns a set of external paths to external folders referred to on the given classpath. Returnsnull
if there are none. -
isExternalFolderPath
public static boolean isExternalFolderPath(org.eclipse.core.runtime.IPath externalPath) Returnstrue
if the provided path is a folder external to the project. The path is expected to be one matching theIClasspathEntry.CPE_LIBRARY
case inIClasspathEntry.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
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)
-