First submit for debug plugin
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / resourcesview / PHPProject.java
index 7cff514..e903be5 100644 (file)
@@ -26,7 +26,7 @@ import org.xml.sax.SAXException;
 import org.xml.sax.XMLReader;
 
 public class PHPProject implements IProjectNature, PHPElement {
-       protected IProject project;
+       protected IProject fProject;
        protected List loadPathEntries;
        protected boolean scratched;
 
@@ -37,7 +37,7 @@ public class PHPProject implements IProjectNature, PHPElement {
        public void deconfigure() throws CoreException {}
 
        public IProject getProject() {
-               return project;
+               return fProject;
        }
 
        protected IProject getProject(String name) {
@@ -45,7 +45,7 @@ public class PHPProject implements IProjectNature, PHPElement {
        }
 
        public void setProject(IProject aProject) {
-               project = aProject;
+               fProject = aProject;
        }
 
        public void addLoadPathEntry(IProject anotherPHPProject) {
@@ -137,7 +137,7 @@ public class PHPProject implements IProjectNature, PHPElement {
        }
 
        protected IFile getLoadPathEntriesFile() {
-               return project.getFile(".loadpath");
+               return fProject.getFile(".loadpath");
        }
 
        public void save() throws CoreException {
@@ -167,8 +167,9 @@ public class PHPProject implements IProjectNature, PHPElement {
                buffer.append("</loadpath>");
                return buffer.toString();
        }
+       
        public IResource getUnderlyingResource() {
-               return project;
+               return fProject;
        }
 
 }