* the Common Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/cpl-v10.html
*
- * Contributors: Klaus Hartlage - www.eclipseproject.de
+ * Contributors: www.phpeclipse.de
******************************************************************************/
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) {