incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stefane...@apache.org
Subject svn commit: r1519986 - /sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/JcrContentContentProvider.java
Date Wed, 04 Sep 2013 11:25:34 GMT
Author: stefanegli
Date: Wed Sep  4 11:25:34 2013
New Revision: 1519986

URL: http://svn.apache.org/r1519986
Log:
SLING-2985 : correctly show 'has children' indicator (ie dont show the indicator on plain
files)

Modified:
    sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/JcrContentContentProvider.java

Modified: sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/JcrContentContentProvider.java
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/JcrContentContentProvider.java?rev=1519986&r1=1519985&r2=1519986&view=diff
==============================================================================
--- sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/JcrContentContentProvider.java
(original)
+++ sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/JcrContentContentProvider.java
Wed Sep  4 11:25:34 2013
@@ -214,7 +214,10 @@ public class JcrContentContentProvider i
 	@Override
 	public boolean hasPipelinedChildren(Object anInput,
 			boolean currentHasChildren) {
-		// TODO Auto-generated method stub
+		if (anInput instanceof IResource) {
+			// then typically the 'currentHasChildren' is correct
+			return currentHasChildren;
+		}
 		return true;
 	}
 



Mime
View raw message