Commiting more changes to fix RSE issues with PHP projects.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / actions / OpenDeclarationEditorAction.java
index 9c35add..6aeb43f 100644 (file)
@@ -105,7 +105,7 @@ public class OpenDeclarationEditorAction {
                                if (list != null && list.size() > 0) {
                                        // String workspaceLocation =
                                        // PHPeclipsePlugin.getWorkspace().getRoot().getLocation().toString();
-                                       String workspaceLocation = fProject.getLocation()
+                                       String workspaceLocation = fProject.getFullPath()
                                                        .toString()
                                                        + java.io.File.separatorChar;
 
@@ -158,7 +158,7 @@ public class OpenDeclarationEditorAction {
                                // PHPeclipsePlugin.getWorkspace().getRoot()
                                // .getLocation().toString();
 
-                               String workspaceLocation = fProject.getLocation().toString()
+                               String workspaceLocation = fProject.getFullPath().toString()
                                                + java.io.File.separatorChar;
                                // TODO show all entries of the list in a dialog box
                                // at the moment always the first entry will be opened