Author: vrubezhny
Date: 2009-06-18 18:09:11 -0400 (Thu, 18 Jun 2009)
New Revision: 16057
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/XmlContentAssistProcessor.java
Log:
JBIDE-2808: Improve/refactor org.jboss.tools.common.kb plugin.
Fixed KbQuery creation for Attribute Name/Value proposals
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/XmlContentAssistProcessor.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/XmlContentAssistProcessor.java 2009-06-18
22:08:18 UTC (rev 16056)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/XmlContentAssistProcessor.java 2009-06-18
22:09:11 UTC (rev 16057)
@@ -50,7 +50,7 @@
String prefix = getTagPrefix();
String uri = getTagUri();
- String[] parentTags = getParentTags();
+ String[] parentTags = getParentTags(type == Type.ATTRIBUTE_NAME || type ==
Type.ATTRIBUTE_VALUE);
String parent = getParent(type == Type.ATTRIBUTE_VALUE);
String queryValue = query;
String queryStringValue = stringQuery;
Show replies by date