public class PomContentAssistProcessor
extends org.eclipse.wst.xml.ui.internal.contentassist.DefaultXMLCompletionProposalComputer
Constructor and Description |
---|
PomContentAssistProcessor() |
Modifier and Type | Method and Description |
---|---|
protected void |
addTagInsertionProposals(org.eclipse.wst.xml.ui.internal.contentassist.ContentAssistRequest contentAssistRequest,
int childPosition,
org.eclipse.wst.sse.ui.contentassist.CompletionProposalInvocationContext ctx) |
protected void |
addTagNameProposals(org.eclipse.wst.xml.ui.internal.contentassist.ContentAssistRequest contentAssistRequest,
int childPosition,
org.eclipse.wst.sse.ui.contentassist.CompletionProposalInvocationContext ctx) |
protected org.eclipse.jface.text.templates.TemplateContext |
createContext(org.eclipse.jface.text.ITextViewer viewer,
org.eclipse.jface.text.IRegion region,
String contextTypeId) |
static String |
extractPrefix(org.eclipse.jface.text.ITextViewer viewer,
int offset) |
static String |
findRelativePath(org.eclipse.jface.text.ITextViewer viewer,
String groupId,
String artifactId,
String version) |
protected org.eclipse.jface.text.templates.TemplateContextType |
getContextType(org.eclipse.jface.text.ITextViewer viewer,
org.eclipse.jface.text.IRegion region,
String contextTypeId) |
protected int |
getRelevance(org.eclipse.jface.text.templates.Template template,
String prefix) |
addAttributeNameProposals, addAttributeValueProposals, addCommentProposal, addDocTypeProposal, addEmptyDocumentProposals, addEndTagNameProposals, addEndTagProposals, addEntityProposals, addEntityProposals, addPCDATAProposal, addStartDocumentProposals, addTagCloseProposals, sessionEnded, sessionStarted
beginsWith, computeAttributeProposals, computeCompletionProposals, computeCompletionProposals, computeContextInformation, getCursorPositionForProposedText, getErrorMessage, setErrorMessage
protected void addTagNameProposals(org.eclipse.wst.xml.ui.internal.contentassist.ContentAssistRequest contentAssistRequest, int childPosition, org.eclipse.wst.sse.ui.contentassist.CompletionProposalInvocationContext ctx)
addTagNameProposals
in class org.eclipse.wst.xml.ui.internal.contentassist.DefaultXMLCompletionProposalComputer
protected void addTagInsertionProposals(org.eclipse.wst.xml.ui.internal.contentassist.ContentAssistRequest contentAssistRequest, int childPosition, org.eclipse.wst.sse.ui.contentassist.CompletionProposalInvocationContext ctx)
addTagInsertionProposals
in class org.eclipse.wst.xml.ui.internal.contentassist.DefaultXMLCompletionProposalComputer
public static String findRelativePath(org.eclipse.jface.text.ITextViewer viewer, String groupId, String artifactId, String version)
protected org.eclipse.jface.text.templates.TemplateContext createContext(org.eclipse.jface.text.ITextViewer viewer, org.eclipse.jface.text.IRegion region, String contextTypeId)
protected int getRelevance(org.eclipse.jface.text.templates.Template template, String prefix)
protected org.eclipse.jface.text.templates.TemplateContextType getContextType(org.eclipse.jface.text.ITextViewer viewer, org.eclipse.jface.text.IRegion region, String contextTypeId)
public static final String extractPrefix(org.eclipse.jface.text.ITextViewer viewer, int offset)
Copyright © 2005–2019 Eclipse Foundation. All rights reserved.