import javax.xml.parsers.SAXParserFactory;
+import net.sourceforge.phpeclipse.LoadPathEntry;
+import net.sourceforge.phpeclipse.PHPeclipsePlugin;
+
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectNature;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import net.sourceforge.phpeclipse.LoadPathEntry;
-import net.sourceforge.phpeclipse.PHPeclipsePlugin;
-
import org.xml.sax.Attributes;
import org.xml.sax.ContentHandler;
import org.xml.sax.InputSource;
import org.xml.sax.XMLReader;
public class PHPProject implements IProjectNature, PHPElement {
- protected IProject project;
+ protected IProject fProject;
protected List loadPathEntries;
protected boolean scratched;
public void deconfigure() throws CoreException {}
public IProject getProject() {
- return project;
+ return fProject;
}
protected IProject getProject(String name) {
}
public void setProject(IProject aProject) {
- project = aProject;
+ fProject = aProject;
}
public void addLoadPathEntry(IProject anotherPHPProject) {
}
protected IFile getLoadPathEntriesFile() {
- return project.getFile(".loadpath");
+ return fProject.getFile(".loadpath");
}
public void save() throws CoreException {
buffer.append("</loadpath>");
return buffer.toString();
}
+
public IResource getUnderlyingResource() {
- return project;
+ return fProject;
}
}