X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/template/DeclarationProposal.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/template/DeclarationProposal.java index 4786adc..30c2e8c 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/template/DeclarationProposal.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/template/DeclarationProposal.java @@ -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();