******************************************************************************/
package net.sourceforge.phpeclipse.actions;
-import java.util.ArrayList;
-import java.util.Arrays;
+import java.io.File;
import java.util.Collections;
import java.util.List;
import java.util.Set;
List locationsList = indexManager.getLocations(word);
if (locationsList != null && locationsList.size() > 0) {
- String workspaceLocation = PHPeclipsePlugin.getWorkspace().getRoot()
- .getLocation().toString();
+// String workspaceLocation = PHPeclipsePlugin.getWorkspace().getRoot()
+// .getLocation().toString();
+
+ String workspaceLocation = fProject.getLocation().toString()+File.separatorChar;
// TODO show all entries of the list in a dialog box
// at the moment always the first entry will be opened
if (locationsList.size() > 1) {