boolean () { ProjectViewDirectoryHelper helper = getProjectViewDirectoryHelper(); if (helper == null || !helper.supportsFlattenPackages()) return false; ProjectView view = getProjectView(); return view != null && view.isFlattenPackages(getPaneID(view)); }