Commiting more changes to fix RSE issues with PHP projects.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / text / template / DeclarationProposal.java
index 4786adc..30c2e8c 100644 (file)
@@ -170,11 +170,11 @@ public class DeclarationProposal extends AbstractProposal { // implements
                // PHPeclipsePlugin.getWorkspace().getRoot().getLocation().toString();
                String workspaceLocation;
                if (fProject != null) {
-                       workspaceLocation = fProject.getLocation().toString() + '/';
+                       workspaceLocation = fProject.getFullPath().toString() + '/';
                } else {
                        // should never happen?
                        workspaceLocation = PHPeclipsePlugin.getWorkspace().getRoot()
-                                       .getLocation().toString();
+                                       .getFullPath().toString();
                }
                String filename = workspaceLocation + fLocation.getFilename();
                PHPDocUtil.appendPHPDoc(hoverInfoBuffer, filename, fLocation);
@@ -215,12 +215,12 @@ public class DeclarationProposal extends AbstractProposal { // implements
                String workspaceLocation;
                String workspaceName;
                if (fProject != null) {
-                       workspaceLocation = fProject.getLocation().toString() + '/';
+                       workspaceLocation = fProject.getFullPath().toString() + '/';
                        workspaceName = fProject.getName().toString() + '/';
                } else {
                        // should never happen?
                        workspaceLocation = PHPeclipsePlugin.getWorkspace().getRoot()
-                                       .getLocation().toString();
+                                       .getFullPath().toString();
                        workspaceName = workspaceLocation;
                }
                String filename = fLocation.getFilename();