Package org.eclipse.wst.xsl.ui.internal.contentassist
public class XSLContentAssistProcessor extends org.eclipse.wst.xsl.ui.provisional.contentassist.AbstractXSLContentAssistProcessorThe XSL Content Assist Processor provides content assistance for various attributes values within the XSL Editor. This includes support for xpaths on select statements as well as on test and match attributes.
Constructor Summary |
XSLContentAssistProcessor() |
Method Summary | |
protected boolean | assistanceOnAttribute(IDOMNode node
,
ITextRegion aRegion) |
public ICompletionProposal[] | computeCompletionProposals(ITextViewer textViewer
,
int documentPosition) CONTENT ASSIST STARTS HERE Return a list of proposed code completions based on the specified location within the document that corresponds to the current cursor position within the text-editor control. |
public IContextInformation[] | computeContextInformation(ITextViewer viewer
,
int offset) (non-Javadoc) |
public char[] | getContextInformationAutoActivationCharacters() (non-Javadoc) |
public IContextInformationValidator | getContextInformationValidator() (non-Javadoc) |
public java.lang.String | getMaximumVersion() |
public java.lang.String | getMinimumVersion() |
public java.util.ArrayList | getNamespaces() |
Constructor Detail |
public XSLContentAssistProcessor()
Provides an XSL Content Assist Processor class that is XSL aware and XML aware.
Methods Detail |
protected boolean assistanceOnAttribute(IDOMNode node
,
ITextRegion aRegion)
node
aRegion
boolean
public ICompletionProposal[] computeCompletionProposals(ITextViewer textViewer
,
int documentPosition)
CONTENT ASSIST STARTS HERE Return a list of proposed code completions based on the specified location within the document that corresponds to the current cursor position within the text-editor control.
textViewer
documentPosition
- - the cursor location within the document
ICompletionProposal[]
- an array of ICompletionProposal
public IContextInformation[] computeContextInformation(ITextViewer viewer
,
int offset)
(non-Javadoc)
viewer
offset
IContextInformation[]
public char[] getContextInformationAutoActivationCharacters()
(non-Javadoc)
char[]
public IContextInformationValidator getContextInformationValidator()
(non-Javadoc)
IContextInformationValidator
public java.lang.String getMaximumVersion()
java.lang.String
public java.lang.String getMinimumVersion()
java.lang.String
public java.util.ArrayList getNamespaces()
java.util.ArrayList