Author: scabanovich
Date: 2007-11-30 10:10:04 -0500 (Fri, 30 Nov 2007)
New Revision: 5168
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/AbstractSeamContentProvider.java
Log:
JBIDE-1391
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/AbstractSeamContentProvider.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/AbstractSeamContentProvider.java 2007-11-30
15:09:23 UTC (rev 5167)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/AbstractSeamContentProvider.java 2007-11-30
15:10:04 UTC (rev 5168)
@@ -163,8 +163,10 @@
for (ISeamComponent c : p.getComponents()) {
children.add(c);
}
- for (ISeamPackage pc : p.getPackages().values()) {
- children.add(pc);
+ if(!isPackageStructureFlat()) {
+ for (ISeamPackage pc : p.getPackages().values()) {
+ children.add(pc);
+ }
}
return children.toArray(new Object[0]);
} else if(parentElement instanceof ISeamComponent) {
Show replies by date