mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
view settings: ensure super doesn't attempt to initialize inheritor
GitOrigin-RevId: c4970d856de6a2f4e72ca3f31c7a097cc906b888
This commit is contained in:
committed by
intellij-monorepo-bot
parent
22c7156497
commit
d7fc0cdd81
@@ -11,7 +11,42 @@ public interface ViewSettings extends NodeOptions {
|
||||
/**
|
||||
* The default view settings for the project view.
|
||||
*/
|
||||
ViewSettings DEFAULT = Immutable.DEFAULT;
|
||||
ViewSettings DEFAULT = new ViewSettings() {
|
||||
@Override
|
||||
public boolean isShowMembers() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAbbreviatePackageNames() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isFlattenPackages() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isHideEmptyMiddlePackages() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isShowLibraryContents() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isStructureView() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isShowModules() {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* @return {@code true} if directories (folders or packages) should be separated from files, {@code false} otherwise.
|
||||
|
||||
Reference in New Issue
Block a user