org.eclipse.jdt.internal.core
Class SetClasspathOperation

java.lang.Object
  extended by org.eclipse.jdt.internal.core.JavaModelOperation
      extended by org.eclipse.jdt.internal.core.ChangeClasspathOperation
          extended by org.eclipse.jdt.internal.core.SetClasspathOperation
All Implemented Interfaces:
IWorkspaceRunnable, org.eclipse.core.runtime.IProgressMonitor

public class SetClasspathOperation
extends ChangeClasspathOperation

This operation sets an IJavaProject's classpath.

See Also:
IJavaProject

Field Summary
 
Fields inherited from class org.eclipse.jdt.internal.core.JavaModelOperation
HAS_MODIFIED_RESOURCE_ATTR, progressMonitor, TRUE
 
Fields inherited from interface org.eclipse.core.runtime.IProgressMonitor
UNKNOWN
 
Constructor Summary
SetClasspathOperation(JavaProject project, IClasspathEntry[] newRawClasspath, org.eclipse.core.runtime.IPath newOutputLocation, boolean canChangeResource)
          When executed, this operation sets the raw classpath and output location of the given project.
 
Method Summary
 java.lang.String toString()
           
 IJavaModelStatus verify()
          Returns a status indicating if there is any known reason this operation will fail.
 
Methods inherited from class org.eclipse.jdt.internal.core.ChangeClasspathOperation
isReadOnly
 
Methods inherited from class org.eclipse.jdt.internal.core.JavaModelOperation
beginTask, done, executeNestedOperation, getJavaModel, getResultElements, hasModifiedResource, internalWorked, isCanceled, newJavaElementDelta, run, runOperation, setCanceled, setTaskName, subTask, worked
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetClasspathOperation

public SetClasspathOperation(JavaProject project,
                             IClasspathEntry[] newRawClasspath,
                             org.eclipse.core.runtime.IPath newOutputLocation,
                             boolean canChangeResource)
When executed, this operation sets the raw classpath and output location of the given project.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

verify

public IJavaModelStatus verify()
Description copied from class: JavaModelOperation
Returns a status indicating if there is any known reason this operation will fail. Operations are verified before they are run. Subclasses must override if they have any conditions to verify before this operation executes.

See Also:
IJavaModelStatus