errorMessage = null;
List atts = tag.getAttributes();
Map existingAtts = ivyfile.getAllAttsValues();
// Loop through all proposals
for (Iterator iter = atts.iterator(); iter.hasNext();) {
IvyTagAttribute att = (IvyTagAttribute) iter.next();
if (att.getName().startsWith(qualifier) && !existingAtts.containsKey(att.getName())) {
// Yes -- compute whole proposal text
String text = att.getName() + "=\"\"";
// Construct proposal
CompletionProposal proposal = new CompletionProposal(text, ivyfile.getOffset()
- qlen, qlen + selectedRange.y, text.length() - 1, null, att.getName(),
null, att.getDoc());
// and add to result list
propList.add(proposal);
}
}
}