Klasse ExternalFoldersManager
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.ExternalFoldersManager
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.eclipse.core.resources.IFolderaddFolder(org.eclipse.core.runtime.IPath externalFolderPath, boolean scheduleForCreation) voidcleanUp(org.eclipse.core.runtime.IProgressMonitor monitor) org.eclipse.core.resources.IProjectcreateExternalFoldersProject(org.eclipse.core.runtime.IProgressMonitor monitor) org.eclipse.core.resources.IFoldercreateLinkFolder(org.eclipse.core.runtime.IPath externalFolderPath, boolean refreshIfExistAlready, org.eclipse.core.runtime.IProgressMonitor monitor) voidcreatePendingFolders(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 ExternalFoldersManagerorg.eclipse.core.resources.IProjectorg.eclipse.core.resources.IFoldergetFolder(org.eclipse.core.runtime.IPath externalFolderPath) static booleanisExternalFolderPath(org.eclipse.core.runtime.IPath externalPath) Returnstrueif the provided path is a folder external to the project.static booleanisInternalPathForExternalFolder(org.eclipse.core.runtime.IPath resourcePath) voidrefreshReferences(org.eclipse.core.resources.IProject[] sourceProjects, org.eclipse.core.runtime.IProgressMonitor monitor) voidrefreshReferences(org.eclipse.core.resources.IProject source, org.eclipse.core.runtime.IProgressMonitor monitor) org.eclipse.core.resources.IFolderremoveFolder(org.eclipse.core.runtime.IPath externalFolderPath) booleanremovePendingFolder(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. Returnsnullif there are none. -
isExternalFolderPath
public static boolean isExternalFolderPath(org.eclipse.core.runtime.IPath externalPath) Returnstrueif the provided path is a folder external to the project. The path is expected to be one matching theIClasspathEntry.CPE_LIBRARYcase 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)
-