Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorymazor2007-07-22 08:44:03 -0400
committerymazor2007-07-22 08:44:03 -0400
commit7e337bff8ec9b5508876680a58bda945b30c53e6 (patch)
tree11d9c0acd05f537cd739b66447ea1b9b756222ef
parentd3a9f5e7ba059e5fa39f00f20fedf5261ed57598 (diff)
downloadorg.eclipse.pdt-7e337bff8ec9b5508876680a58bda945b30c53e6.tar.gz
org.eclipse.pdt-7e337bff8ec9b5508876680a58bda945b30c53e6.tar.xz
org.eclipse.pdt-7e337bff8ec9b5508876680a58bda945b30c53e6.zip
fixed filtering of closed projectsv20070722
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/filters/RSEProjectFilter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/filters/RSEProjectFilter.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/filters/RSEProjectFilter.java
index 2de98f317..81b3387c3 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/filters/RSEProjectFilter.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/filters/RSEProjectFilter.java
@@ -19,7 +19,7 @@ public class RSEProjectFilter extends ViewerFilter {
if (element instanceof IProject) {
IProject proj = (IProject) element;
try {
- if (!proj.isAccessible() || proj.hasNature(PHPUiConstants.RSE_TEMP_PROJECT_NATURE_ID)) {
+ if (proj.exists() && proj.hasNature(PHPUiConstants.RSE_TEMP_PROJECT_NATURE_ID)) {
return false;
}
} catch (CoreException ce) {

Back to the top