Fix for ticket #358 Interpreter Tab in Mac OSX from mbowie testing and confirming...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / actions / PHPOpenAllIncludesEditorAction.java
index 3dd63ff..2779807 100644 (file)
@@ -83,7 +83,7 @@ public class PHPOpenAllIncludesEditorAction extends ActionDelegate implements
        private IFile getIncludeFile(IProject project,
                        IFileEditorInput editorInput, String relativeFilename) {
                IContainer container = getWorkingLocation(editorInput);
-               String fullPath = project.getLocation().toString();
+               String fullPath = project.getFullPath().toString();
                IFile file = null;
                if (relativeFilename.startsWith("../")) {
                        Path path = new Path(relativeFilename);
@@ -144,7 +144,7 @@ public class PHPOpenAllIncludesEditorAction extends ActionDelegate implements
                                        if (list != null && list.size() > 0) {
                                                // String workspaceLocation =
                                                // PHPeclipsePlugin.getWorkspace().getRoot().getLocation().toString();
-                                               String workspaceLocation = fProject.getLocation()
+                                               String workspaceLocation = fProject.getFullPath()
                                                                .toString()
                                                                + File.separatorChar;