Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Unable to set hierarchical project presentation by default
Unable to set hierarchical project presentation by default [message #1787602] Tue, 29 May 2018 21:19
Nick Forrette is currently offline Nick ForretteFriend
Messages: 1
Registered: May 2018
Junior Member
I'm trying to get Project Explorer > Projects Presentation > Hierarchical set by default (as opposed to Flat) in a custom Eclipse RCP application.

We've had great luck using plugin_customization.ini for most preferences, but org.eclipse.ui.navigator.ProjectExplorer.activatedExtensions and org.eclipse.ui.navigator.ProjectExplorer.filterActivation have been causing grief.

- I start our product with new / clean workspace, exit, then create a copy of the whole .metadata structure.


- I start our product, set Projects Presentation to Hierarchical via the Project Explorer menu, then exit.


- I "diff -r" the new and copied .metadata directories. That pointed me to org.eclipse.ui.navigator.prefs, where I found org.eclipse.ui.navigator.ProjectExplorer.activatedExtensions and org.eclipse.ui.navigator.ProjectExplorer.filterActivation.


- I added the following to our plugin_customization.ini file:

org.eclipse.ui.navigator/org.eclipse.ui.navigator.ProjectExplorer.activatedExtensions=org.eclipse.cdt.make.ui.makeTargets.content\=true;org.eclipse.ui.navigator.resourceContent\=true;org.eclipse.cdt.ui.navigator.content\=true;org.eclipse.egit.ui.changeSetContent\=false;org.eclipse.ui.navigator.resources.workingSets\=true;org.eclipse.team.ui.patchSyncNavigatorContent\=true;org.eclipse.team.ui.resourceContent\=true;org.eclipse.egit.ui.RepositoriesViewContent\=true;org.eclipse.ui.navigator.resources.nested.nestedProjectContentProvider\=true;org.eclipse.jdt.java.ui.javaContent\=true;org.eclipse.jdt.ui.javaModelContent\=true;org.eclipse.remote.ui.navigatorContent.connections\=true;
org.eclipse.ui.navigator/org.eclipse.ui.navigator.ProjectExplorer.filterActivation=\:org.eclipse.jdt.java.ui.filters.HidePackageDeclaration\:org.eclipse.jdt.java.ui.filters.HideOutputFolder\:org.eclipse.cdt.ui.navigator.filters.AnonymousStructFilter\:org.eclipse.ui.navigator.resources.nested.HideTopLevelProjectIfNested\:org.eclipse.cdt.ui.navigator.filters.ForwardDeclarationFilter\:org.eclipse.jdt.java.ui.filters.HideEmptyInnerPackages\:org.eclipse.jdt.java.ui.filters.HideInnerClassFiles\:org.eclipse.ui.navigator.resources.filters.startsWithDot\:org.eclipse.jdt.java.ui.filters.HideEmptyLibraryContainers\:org.eclipse.jdt.java.ui.filters.HideImportDeclaration\:org.eclipse.jdt.java.ui.filters.HideSyntheticMembers\:org.eclipse.ui.navigator.resources.nested.HideFolderWhenProjectIsShownAsNested\:


- I rebuilt our product, ran it with a new workspace, but Projects Presentation is still Flat.

- If I manually copy org.eclipse.ui.navigator.prefs in to the workspace and restart, then I see Projects Presentation set to Hierarchical.


I isn't clear to me why those prefs aren't customizable like the other preferences we've customized. Would appreciate any assistance.
Previous Topic:Error in newly installed Oxygen: Unable to locate secure storage module
Next Topic:Custom Java Project Wizard
Goto Forum:
  


Current Time: Sat Nov 17 15:12:28 GMT 2018

Powered by FUDForum. Page generated in 0.01831 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top