Author: dgeraskov
Date: 2009-12-03 08:28:20 -0500 (Thu, 03 Dec 2009)
New Revision: 19020
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/FileFilter.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5305
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/FileFilter.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/FileFilter.java 2009-12-03
13:20:42 UTC (rev 19019)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/FileFilter.java 2009-12-03
13:28:20 UTC (rev 19020)
@@ -87,6 +87,7 @@
else if (allowDirectories && element instanceof IFolder) {
return true;
} else if (element instanceof IContainer) { // IProject, IFolder
+ if (!((IContainer)element).isAccessible()) return false;
if (!recursive ) {
return true;
}