List of usage examples for org.eclipse.jdt.internal.core SetClasspathOperation SetClasspathOperation
public SetClasspathOperation(JavaProject project, IClasspathEntry[] newRawClasspath, IClasspathEntry[] referencedEntries, IPath newOutputLocation, boolean canChangeResource)
From source file:org.eclipse.jdt.internal.core.JavaProject.java
License:Open Source License
protected void setRawClasspath(IClasspathEntry[] newRawClasspath, IClasspathEntry[] referencedEntries, IPath newOutputLocation, boolean canModifyResources, IProgressMonitor monitor) throws JavaModelException { try {//from w w w . j ava 2 s.c om if (newRawClasspath == null) //are we already with the default classpath newRawClasspath = defaultClasspath(); SetClasspathOperation op = new SetClasspathOperation(this, newRawClasspath, referencedEntries, newOutputLocation, canModifyResources); op.runOperation(monitor); } catch (JavaModelException e) { JavaModelManager.getJavaModelManager().getDeltaProcessor().flush(); throw e; } }