use of org.eclipse.wst.xsl.ui.provisional.contentassist.NullContentAssistRequest in project webtools.sourceediting by eclipse.
the class XSLContentAssistRequestFactory method getContentAssistRequest.
/**
* Get the appropriate content assist request class for the XSL request.
* @return
*/
public IContentAssistProposalRequest getContentAssistRequest() {
NamedNodeMap nodeMap = xmlNode.getAttributes();
IDOMElement element = (IDOMElement) xmlNode;
IContentAssistProposalRequest proposal = commonAttributeProposals(nodeMap);
if (proposal instanceof NullContentAssistRequest) {
if (isElementProposal(element)) {
proposal = getElementProposals(nodeMap, element);
}
}
return proposal;
}
use of org.eclipse.wst.xsl.ui.provisional.contentassist.NullContentAssistRequest in project webtools.sourceediting by eclipse.
the class EXSLTContentAssistRequestFactory method getContentAssistRequest.
/**
* Get the appropriate content assist request class for the XSL request.
* @return
*/
public IContentAssistProposalRequest getContentAssistRequest() {
NamedNodeMap nodeMap = xmlNode.getAttributes();
IDOMElement element = (IDOMElement) xmlNode;
IContentAssistProposalRequest proposal = commonAttributeProposals(nodeMap);
if (proposal instanceof NullContentAssistRequest) {
if (isElementProposal(element)) {
proposal = getNullProposal();
}
}
return proposal;
}
Aggregations