* 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.io.File;
import java.util.List;
import net.sourceforge.phpeclipse.PHPeclipsePlugin;
List list = fIncludesScanner.getList();
if (list != null && list.size() > 0) {
- String workspaceLocation = PHPeclipsePlugin.getWorkspace().getRoot().getLocation().toString();
-
+// String workspaceLocation = PHPeclipsePlugin.getWorkspace().getRoot().getLocation().toString();
+ String workspaceLocation = fProject.getLocation().toString()+File.separatorChar;
+
ListSelectionDialog listSelectionDialog = new ListSelectionDialog(PHPeclipsePlugin.getDefault().getWorkbench()
.getActiveWorkbenchWindow().getShell(), list, new ListContentProvider(), new LabelProvider(),
"Select the includes to open.");