Author: scabanovich
Date: 2009-02-19 08:20:24 -0500 (Thu, 19 Feb 2009)
New Revision: 13677
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamLinkHelper.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/OpenSeamComponentDialog.java
Log:
JBIDE-3818
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamLinkHelper.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamLinkHelper.java 2009-02-19
13:18:59 UTC (rev 13676)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamLinkHelper.java 2009-02-19
13:20:24 UTC (rev 13677)
@@ -73,7 +73,7 @@
ISeamProject seamProject = SeamCorePlugin.getSeamProject(jp.getProject(), true);
if(seamProject == null) return null;
IType type = cf.getType();
- Set<ISeamComponent> cs = seamProject.getComponents();
+ ISeamComponent[] cs = seamProject.getComponents();
for (ISeamComponent c : cs) {
ISeamJavaComponentDeclaration d = c.getJavaDeclaration();
IMember m = d.getSourceMember();
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/OpenSeamComponentDialog.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/OpenSeamComponentDialog.java 2009-02-19
13:18:59 UTC (rev 13676)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/OpenSeamComponentDialog.java 2009-02-19
13:20:24 UTC (rev 13677)
@@ -128,11 +128,8 @@
ISeamProject seamProject = SeamCorePlugin.getSeamProject(project,
true);
if (seamProject != null) {
- Iterator<ISeamComponent> iter = seamProject.getComponents()
- .iterator();
- while (iter.hasNext()) {
- ISeamComponent component = iter.next();
-
+ ISeamComponent[] iter = seamProject.getComponents();
+ for (ISeamComponent component: iter) {
if (SeamReferencedFilter
.isComponentDeclaredInThisProject(component))
contentProvider.add(new SeamComponentWrapper(component
Show replies by date