public final class JavaProjectViewDirectoryHelper extends ProjectViewDirectoryHelper
LOG
Constructor and Description |
---|
JavaProjectViewDirectoryHelper(Project project) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRepresent(java.lang.Object element,
PsiDirectory directory) |
java.lang.String |
getLocationString(PsiDirectory directory,
boolean includeUrl,
boolean includeRootType) |
java.lang.String |
getNodeName(ViewSettings settings,
java.lang.Object parentValue,
PsiDirectory directory) |
boolean |
isEmptyMiddleDirectory(PsiDirectory directory,
boolean strictlyEmpty,
PsiFileSystemItemFilter filter) |
boolean |
isShowFQName(ViewSettings settings,
java.lang.Object parentValue,
PsiDirectory value) |
boolean |
shouldHideProjectConfigurationFilesDirectory()
Returns
true if the directory containing project configuration files (.idea) should be hidden in Project View. |
boolean |
skipDirectory(PsiDirectory directory) |
boolean |
supportsFlattenPackages() |
boolean |
supportsHideEmptyMiddlePackages() |
canRepresent, createFileAndDirectoryNodes, getDirectoryChildren, getDirectoryChildren, getInstance, getLocationString, getProject, getTopLevelRoots, isEmptyMiddleDirectory
public JavaProjectViewDirectoryHelper(Project project)
public java.lang.String getLocationString(PsiDirectory directory, boolean includeUrl, boolean includeRootType)
getLocationString
in class ProjectViewDirectoryHelper
public boolean isShowFQName(ViewSettings settings, java.lang.Object parentValue, PsiDirectory value)
isShowFQName
in class ProjectViewDirectoryHelper
public boolean shouldHideProjectConfigurationFilesDirectory()
ProjectViewDirectoryHelper
true
if the directory containing project configuration files (.idea) should be hidden in Project View.shouldHideProjectConfigurationFilesDirectory
in class ProjectViewDirectoryHelper
public java.lang.String getNodeName(ViewSettings settings, java.lang.Object parentValue, PsiDirectory directory)
getNodeName
in class ProjectViewDirectoryHelper
public boolean skipDirectory(PsiDirectory directory)
skipDirectory
in class ProjectViewDirectoryHelper
public boolean isEmptyMiddleDirectory(PsiDirectory directory, boolean strictlyEmpty, PsiFileSystemItemFilter filter)
isEmptyMiddleDirectory
in class ProjectViewDirectoryHelper
public boolean supportsFlattenPackages()
supportsFlattenPackages
in class ProjectViewDirectoryHelper
public boolean supportsHideEmptyMiddlePackages()
supportsHideEmptyMiddlePackages
in class ProjectViewDirectoryHelper
public boolean canRepresent(java.lang.Object element, PsiDirectory directory)
canRepresent
in class ProjectViewDirectoryHelper