1) Reintroduced finishedBuilding
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / builder / NameEnvironment.java
index c8f6dd3..32a8696 100644 (file)
@@ -13,7 +13,7 @@ package net.sourceforge.phpdt.internal.core.builder;
 import java.util.ArrayList;
 
 import net.sourceforge.phpdt.core.IClasspathEntry;
-import net.sourceforge.phpdt.core.IJavaProject;
+//import net.sourceforge.phpdt.core.IJavaProject;
 import net.sourceforge.phpdt.core.JavaCore;
 import net.sourceforge.phpdt.core.compiler.CharOperation;
 import net.sourceforge.phpdt.internal.compiler.env.INameEnvironment;
@@ -25,7 +25,7 @@ import net.sourceforge.phpdt.internal.core.JavaProject;
 import net.sourceforge.phpdt.internal.core.util.SimpleLookupTable;
 
 import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFolder;
+//import org.eclipse.core.resources.IFolder;
 import org.eclipse.core.resources.IMarker;
 import org.eclipse.core.resources.IProject;
 import org.eclipse.core.resources.IWorkspaceRoot;
@@ -54,17 +54,17 @@ public class NameEnvironment implements INameEnvironment {
                setNames(null, null);
        }
 
-       public NameEnvironment(IJavaProject javaProject) {
-               this.isIncrementalBuild = false;
-               try {
-                       computeClasspathLocations(javaProject.getProject().getWorkspace()
-                                       .getRoot(), (JavaProject) javaProject, null);
-               } catch (CoreException e) {
-                       // this.sourceLocations = new ClasspathMultiDirectory[0];
-                       // this.binaryLocations = new ClasspathLocation[0];
-               }
-               setNames(null, null);
-       }
+//     public NameEnvironment(IJavaProject javaProject) {
+//             this.isIncrementalBuild = false;
+//             try {
+//                     computeClasspathLocations(javaProject.getProject().getWorkspace()
+//                                     .getRoot(), (JavaProject) javaProject, null);
+//             } catch (CoreException e) {
+//                     // this.sourceLocations = new ClasspathMultiDirectory[0];
+//                     // this.binaryLocations = new ClasspathLocation[0];
+//             }
+//             setNames(null, null);
+//     }
 
        /*
         * Some examples of resolved class path entries. Remember to search class
@@ -290,12 +290,12 @@ public class NameEnvironment implements INameEnvironment {
                // binaryLocations[i].cleanup();
        }
 
-       private void createFolder(IContainer folder) throws CoreException {
-               if (!folder.exists()) {
-                       createFolder(folder.getParent());
-                       ((IFolder) folder).create(true, true, null);
-               }
-       }
+//     private void createFolder(IContainer folder) throws CoreException {
+//             if (!folder.exists()) {
+//                     createFolder(folder.getParent());
+//                     ((IFolder) folder).create(true, true, null);
+//             }
+//     }
 
        private NameEnvironmentAnswer findClass(String qualifiedTypeName,
                        char[] typeName) {