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 Go to next message
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.
Re: Unable to set hierarchical project presentation by default [message #1807137 is a reply to message #1787602] Thu, 23 May 2019 12:22 Go to previous message
Julien D is currently offline Julien DFriend
Messages: 8
Registered: March 2016
Junior Member
Hi Nick,

I'm facing the same issue today with a product based on Eclipse 2019-03, did you found a solution past year to solve this issue?

Thanks by advance.
Previous Topic:Eclipse Group Licences Concern
Next Topic:Need to save before copy-pasting files
Goto Forum:
  


Current Time: Wed Feb 19 19:32:38 GMT 2020

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

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

Back to the top