public static ProjectContentViewerType get() {
return INSTANCE.get();
}
private static EnumPreference<ProjectContentViewerType> createPref() {
PreferenceFactory factory = ApplicationConfiguration.getPreferenceFactory();
String[] path = new String[] { GeneralProjectPreferencesPage.PATH };
String key = "ProjectContentViewer";
ProjectContentViewerType defaultValue = ProjectContentViewerType.MULTI_TREE;
EnumPreference<ProjectContentViewerType> pref = factory.newEnumPreference(
path, key, defaultValue, ProjectContentViewerType.class);
return pref;
}