Eclipse Project Explorer View

The ProjectExplorer (defined in the plugin org.eclipse.ui.navigator.resources) is a view introduced with Eclipse 3.2. It leverages the CommonNavigatorFramework to present a domain-oriented view of the projects in the workspace. General projects are shown in the same way as the Navigator view, but other projects are presented in a hierarchy that makes sense for their particular domain. For example, Java projects appear as a hierarchy of source folders and packages rather than folders.

ProjectExplorer showing a web application project

Customizations

Use the item "Filters..." from the ProjectExplorer's view menu (the small triangle in the view's tool bar) to customize it's content filters and content contributions.

Dialog for enabling / disabling content filters Dialog with available content contributions

Content Filters

Spring IDE contributes the following content filters to the ProjectExplorer:

  • The filter "Non-Spring Projects" hides all projects which are not a SpringProject.
  • The filter "Non-Spring Elements" hides all non-Spring related files and folders within a SpringProject.
  • The filter "Spring Bean Class References" hides the list of Spring bean references from the Java types which are used as Spring bean classes.

Content Contributions

Spring IDE contributes the following content to the ProjectExplorer:

  • The content provider "Spring Elements" adds a virtual folder with the same name to the root folder of a SpringProject. This virtual folder contains a virtual folder for every of the following Spring-related content contributions (namely "Beans" and "Web Flow")

ProjectExplorer showing a SpringProject with the Spring Elements virtual folder

Virtual folder {{{Spring Elements}}} with Beans content contribution

Content contribution with BeansConfig files

  • The content provider "Spring Beans" adds a list of all Spring beans referencing a Java class.

Content contribution with Spring bean class references

  • The content provider "Spring Web Flow" adds the virtual folder "Web Flow" to the aforementioned virtual folder "Spring Elements" holding all available WebFlow config files of a SpringProject.

Virtual folder {{{Spring Elements}}} with WebFlow content contribution

  • The content provider "Spring Web Flow" adds the elements of the WebFlow model to all available WebFlow config files.

Content contribution with WebFlow config files


See also : CommonNavigatorFramework, SpringProject, BeansConfig, BeansConfigSet, WebFlow

Attachments