Author: scabanovich
Date: 2011-10-06 19:50:24 -0400 (Thu, 06 Oct 2011)
New Revision: 35444
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/contentassist/SeamConfigXmlCompletionProposalComputer.java
Log:
JBIDE-9852
https://issues.jboss.org/browse/JBIDE-9852
Seam config ui migrated to 3.1.
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/contentassist/SeamConfigXmlCompletionProposalComputer.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/contentassist/SeamConfigXmlCompletionProposalComputer.java 2011-10-06
23:49:12 UTC (rev 35443)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/contentassist/SeamConfigXmlCompletionProposalComputer.java 2011-10-06
23:50:24 UTC (rev 35444)
@@ -537,6 +537,11 @@
IType t = EclipseJavaUtil.findType(javaProject, cls);
if(accept(t, annotationsOnly, classesOnly)) result.put(name, t);
}
+ for (String name: Util.EE_TYPES_30.keySet()) {
+ String cls = Util.EE_TYPES_30.get(name);
+ IType t = EclipseJavaUtil.findType(javaProject, cls);
+ if(accept(t, annotationsOnly, classesOnly)) result.put(name, t);
+ }
} else if(javaProject != null) {
IPackageFragmentRoot[] rs = javaProject.getAllPackageFragmentRoots();
for (IPackageFragmentRoot r: rs) {