public static final class ProjectViewSettings.Delegate extends java.lang.Object implements ProjectViewSettings
ProjectViewSettings.Delegate, ProjectViewSettings.Immutable
DEFAULT
Constructor and Description |
---|
Delegate(Project project,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAbbreviatePackageNames()
Gets the value of the "Abbreviate Qualified Package Names" option.
|
boolean |
isCompactDirectories() |
boolean |
isFlattenModules() |
boolean |
isFlattenPackages()
Gets the value of the "Flatten Packages" option.
|
boolean |
isFoldersAlwaysOnTop() |
boolean |
isHideEmptyMiddlePackages()
Gets the value of the "Compact Empty Middle Packages" option.
|
boolean |
isShowExcludedFiles() |
boolean |
isShowLibraryContents()
Gets the value of the "Show/Hide Library Contents" option.
|
boolean |
isShowMembers()
Checks if the project view displays members of classes.
|
boolean |
isShowModules()
Checks if modules are shown on the "Packages" tab of the project view.
|
boolean |
isShowURL()
Checks if the project view displays URL for projects, modules and libraries.
|
boolean |
isShowVisibilityIcons() |
boolean |
isUseFileNestingRules()
If
true then NestingTreeStructureProvider will modify the tree presentation
according to the rules managed by ProjectViewFileNestingService : some peer files will be
shown as nested, for example generated foo.js and foo.js.map file nodes will be shown as children of the
original foo.ts node in the Project View. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isStructureView
public Delegate(Project project, java.lang.String id)
project
- a project used to retrieve a corresponding viewid
- an identifier of a pane or null
for current onepublic boolean isShowExcludedFiles()
isShowExcludedFiles
in interface ProjectViewSettings
public boolean isShowVisibilityIcons()
isShowVisibilityIcons
in interface ProjectViewSettings
public boolean isUseFileNestingRules()
ProjectViewSettings
true
then NestingTreeStructureProvider
will modify the tree presentation
according to the rules managed by ProjectViewFileNestingService
: some peer files will be
shown as nested, for example generated foo.js
and foo.js.map
file nodes will be shown as children of the
original foo.ts
node in the Project View.isUseFileNestingRules
in interface ProjectViewSettings
public boolean isFoldersAlwaysOnTop()
isFoldersAlwaysOnTop
in interface ViewSettings
true
if directories (folders or packages) should be separated from files, false
otherwise.public boolean isShowMembers()
ViewSettings
isShowMembers
in interface ViewSettings
public boolean isShowModules()
ViewSettings
isShowModules
in interface ViewSettings
public boolean isFlattenModules()
isFlattenModules
in interface ViewSettings
true
if modules should be shown in a flat list without grouping accordingly to qualified namespublic boolean isShowURL()
ViewSettings
isShowURL
in interface ViewSettings
true
if URL is displayed, false
otherwise.public boolean isFlattenPackages()
NodeOptions
isFlattenPackages
in interface NodeOptions
public boolean isAbbreviatePackageNames()
NodeOptions
isAbbreviatePackageNames
in interface NodeOptions
public boolean isHideEmptyMiddlePackages()
NodeOptions
isHideEmptyMiddlePackages
in interface NodeOptions
public boolean isCompactDirectories()
isCompactDirectories
in interface NodeOptions
true
if directories in a tree should be merged if possiblepublic boolean isShowLibraryContents()
NodeOptions
isShowLibraryContents
in interface NodeOptions