import java.util.ArrayList;
import java.util.List;
+import net.sourceforge.phpeclipse.resourcesview.PHPFile;
+import net.sourceforge.phpeclipse.resourcesview.PHPProject;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
-import net.sourceforge.phpeclipse.resourcesview.*;
-import net.sourceforge.phpeclipse.resourcesview.PHPFile;
-import net.sourceforge.phpeclipse.resourcesview.PHPProject;
-
public class PHPCore {
public static IProject[] getPHPProjects() {
}
IProject[] phpProjects = new IProject[phpProjectsList.size()];
- return (IProject[]) phpProjectsList.toArray(phpProjects);
+ return (IProject[]) phpProjectsList.toArray(phpProjects);
}
public static PHPProject getPHPProject(String name) {
System.err.println("Exception occurred in PHPCore#create(IProject): " + e.toString());
}
- return null;
+ return null;
}
public static void addPHPNature(IProject project, IProgressMonitor monitor) throws CoreException {