blob: 83fda458d448b51830e392ab07beb81582094525 [file] [log] [blame]
/**
*
*/
package org.eclipse.wst.jsdt.web.core.internal.project;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.wst.jsdt.core.ClasspathContainerInitializer;
import org.eclipse.wst.jsdt.core.IJavaProject;
/**
* @author childsb
*
*/
public class WebProjectClassPathContainerInitializer extends ClasspathContainerInitializer {
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.core.ClasspathContainerInitializer#initialize(org.eclipse.core.runtime.IPath, org.eclipse.wst.jsdt.core.IJavaProject)
*/
public void initialize(IPath containerPath, IJavaProject project) throws CoreException {
/* need this to activate the jsdt.web plugin */
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.core.ClasspathContainerInitializer#canUpdateClasspathContainer(org.eclipse.core.runtime.IPath, org.eclipse.wst.jsdt.core.IJavaProject)
*/
public boolean canUpdateClasspathContainer(IPath containerPath, IJavaProject project) {
/* dont remove from this project */
return false;
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.core.ClasspathContainerInitializer#getDescription(org.eclipse.core.runtime.IPath, org.eclipse.wst.jsdt.core.IJavaProject)
*/
public String getDescription(IPath containerPath, IJavaProject project) {
return new String("Web Project support for JSDT");
}
}