public class IResourcesSetupUtil
extends java.lang.Object
Constructor and Description |
---|
IResourcesSetupUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addNature(org.eclipse.core.resources.IProject project,
java.lang.String nature) |
static void |
cleanBuild() |
static void |
cleanWorkspace() |
static org.eclipse.core.resources.IFile |
createFile(org.eclipse.core.runtime.IPath wsRelativePath,
java.lang.String s) |
static org.eclipse.core.resources.IFile |
createFile(java.lang.String wsRelativePath,
java.lang.String s) |
static org.eclipse.core.resources.IFolder |
createFolder(org.eclipse.core.runtime.IPath wsRelativePath) |
static org.eclipse.core.resources.IFolder |
createFolder(java.lang.String wsRelativePath) |
static org.eclipse.core.resources.IProject |
createProject(org.eclipse.core.resources.IProject project) |
static org.eclipse.core.resources.IProject |
createProject(java.lang.String name) |
protected static void |
deleteProjects(org.eclipse.core.resources.IProject[] projects) |
static org.eclipse.core.resources.IResource |
file(java.lang.String path) |
static void |
fullBuild() |
static org.eclipse.core.runtime.IProgressMonitor |
monitor() |
static java.lang.String |
printMarker(org.eclipse.core.resources.IMarker[] markers) |
static void |
removeNature(org.eclipse.core.resources.IProject project,
java.lang.String nature) |
static void |
removeReference(org.eclipse.core.resources.IProject from,
org.eclipse.core.resources.IProject to) |
static org.eclipse.core.resources.IWorkspaceRoot |
root() |
static void |
setReference(org.eclipse.core.resources.IProject from,
org.eclipse.core.resources.IProject to) |
static void |
waitForAutoBuild() |
public static org.eclipse.core.resources.IWorkspaceRoot root()
public static org.eclipse.core.resources.IProject createProject(java.lang.String name) throws org.eclipse.core.runtime.CoreException, java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
org.eclipse.core.runtime.CoreException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
public static org.eclipse.core.resources.IProject createProject(org.eclipse.core.resources.IProject project) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static void addNature(org.eclipse.core.resources.IProject project, java.lang.String nature) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static void removeNature(org.eclipse.core.resources.IProject project, java.lang.String nature) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static void setReference(org.eclipse.core.resources.IProject from, org.eclipse.core.resources.IProject to) throws org.eclipse.core.runtime.CoreException, java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
org.eclipse.core.runtime.CoreException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
public static void removeReference(org.eclipse.core.resources.IProject from, org.eclipse.core.resources.IProject to) throws org.eclipse.core.runtime.CoreException, java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
org.eclipse.core.runtime.CoreException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
public static org.eclipse.core.resources.IFolder createFolder(java.lang.String wsRelativePath) throws java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
public static org.eclipse.core.resources.IFolder createFolder(org.eclipse.core.runtime.IPath wsRelativePath) throws java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
public static org.eclipse.core.resources.IFile createFile(java.lang.String wsRelativePath, java.lang.String s) throws org.eclipse.core.runtime.CoreException, java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
org.eclipse.core.runtime.CoreException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
public static org.eclipse.core.resources.IFile createFile(org.eclipse.core.runtime.IPath wsRelativePath, java.lang.String s) throws org.eclipse.core.runtime.CoreException, java.lang.reflect.InvocationTargetException, java.lang.InterruptedException
org.eclipse.core.runtime.CoreException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
public static org.eclipse.core.resources.IResource file(java.lang.String path)
public static org.eclipse.core.runtime.IProgressMonitor monitor()
public static void fullBuild() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static void cleanBuild() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static void waitForAutoBuild()
public static void cleanWorkspace() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
protected static void deleteProjects(org.eclipse.core.resources.IProject[] projects) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static java.lang.String printMarker(org.eclipse.core.resources.IMarker[] markers) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException