Author: xcoulon
Date: 2012-01-17 04:59:38 -0500 (Tue, 17 Jan 2012)
New Revision: 37891
Modified:
trunk/ws/plugins/org.jboss.tools.ws.jaxrs.ui/src/org/jboss/tools/ws/jaxrs/ui/cnf/UriMappingsContentProvider.java
Log:
Fixing JBIDE-10655 - Unable to display project content when JAX-RS has been enabled
https://issues.jboss.org/browse/JBIDE-10655
Modified:
trunk/ws/plugins/org.jboss.tools.ws.jaxrs.ui/src/org/jboss/tools/ws/jaxrs/ui/cnf/UriMappingsContentProvider.java
===================================================================
---
trunk/ws/plugins/org.jboss.tools.ws.jaxrs.ui/src/org/jboss/tools/ws/jaxrs/ui/cnf/UriMappingsContentProvider.java 2012-01-17
09:36:24 UTC (rev 37890)
+++
trunk/ws/plugins/org.jboss.tools.ws.jaxrs.ui/src/org/jboss/tools/ws/jaxrs/ui/cnf/UriMappingsContentProvider.java 2012-01-17
09:59:38 UTC (rev 37891)
@@ -36,8 +36,6 @@
@SuppressWarnings("restriction")
public class UriMappingsContentProvider implements ITreeContentProvider, Subscriber { //
,
- // IResourceChangeListener
- // {
private TreeViewer viewer;
@@ -64,8 +62,8 @@
buildJob.schedule();
Logger.debug("Displaying a temporary node in the viewer while the metamodel is
being built...");
//return new Object[] { new WaitWhileBuildingElement() };
- //}
- //else {
+ }
+ else {
// edge case: if the metamodel was built but no category was initialized yet.
Logger.debug("Adding a UriPathTemplateCategory for project {} (case #2)",
project.getName());
UriPathTemplateCategory uriPathTemplateCategory = new UriPathTemplateCategory(this,
project);