Eclipse 4.15 Plug-in Migration FAQ

  1. How can I force a Flat project layout in the Project Explorer view?

1. How Can I Force a Flat Project Layout in the project Explorer View?

As default Project Layout in Project Explorer has been switched to hierarchical, a new preference is available for RCP providers who want to force Flat layout by default instead. The preference is org.eclipse.ui.navigator.resources/defaultToFlatLayout and can be set to true in plugin_customization.ini or programatically before Project Explorer opens for the first time, in order to force a Flat project layout. Subsequent change to this preference after first initialization of Project Explorer will have no effect.