proposal.getDisplayText()));
}
IDOMNode beanNode = QuickfixUtils.getEnclosingBeanNode(node);
if (beanNode != null) {
proposals.add(new CreateNewBeanQuickFixProposal(offset, length, missingEndQuote, text, beanNode));
}
else {
// this case is only for name space elements where there is no
// enclosing bean node
proposals.add(new CreateNewBeanQuickFixProposal(offset, length, missingEndQuote, text, node));
}
IBeansModel model = BeansCorePlugin.getModel();
BeansProject project = (BeansProject) model.getProject(file.getProject());
if (project != null) {