@Override public boolean isFileVisible(VirtualFile file, boolean showHiddenFiles) { if (!super.isFileVisible(file, showHiddenFiles)) { return false; } return file.isDirectory() || GradleConstants.DEFAULT_SCRIPT_NAME.equals(file.getName()); }
@Override public boolean isFileSelectable(VirtualFile file) { return GradleConstants.DEFAULT_SCRIPT_NAME.equals(file.getName()); }