[jbosstools-issues] [JBoss JIRA] (JBIDE-21674) Enable hierarchical view by default in Project Explorer

Viacheslav Kabanovich (JIRA) issues at jboss.org
Thu Feb 11 13:46:00 EST 2016


    [ https://issues.jboss.org/browse/JBIDE-21674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161919#comment-13161919 ] 

Viacheslav Kabanovich commented on JBIDE-21674:
-----------------------------------------------

The user choice Flat/Hierarchical is persisted so that if Eclipse closed/opened or even Project Explorer is closed/opened, the last user choice is applied. Not interfering with the user choice leaves an opportunity for setting hierarchical view only _once_ for the entire life of the workspace. Then the fact should be stored as a root persistent property, and never be done again.
Hierarchical view is implemented with NestedProjectsContentProvider which is registered as a navigatorContent with attribute activeByDefault="false" which makes it possible to activate only in a programmatic way by invoking command org.eclipse.ui.navigator.resources.nested.changeProjectPresentation . 
The easiest way to have hierarchical view by default enabled is to convince developers of Project Explorer to set activeByDefault="true". Otherwise, we can do it with a part listener, and if we want it for this release, we can do it now.

> Enable hierarchical view by default in Project Explorer
> -------------------------------------------------------
>
>                 Key: JBIDE-21674
>                 URL: https://issues.jboss.org/browse/JBIDE-21674
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: common/jst/core
>            Reporter: Xavier Coulon
>
> Project Explorer has been supporting hierarchical view of projects since Mars, but this is not enabled by default in Eclipse (core) even though this is a valuable features, especially for Maven projects that include modules (ie, sub-projects).
> After discussing about it with [~mickael_istria] and [~nickboldt], we should see if we can enable this setting by default in DevStudio.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list