com.ibm.etools.iseries.edit.codeassist.rpgle
Class ISeriesEditorRPGILESQLCodeAssistProcessor
java.lang.Object
com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorCodeAssistProcessor
com.ibm.etools.iseries.edit.codeassist.rpgle.ISeriesEditorRPGILECodeAssistProcessor
com.ibm.etools.iseries.edit.codeassist.rpgle.ISeriesEditorRPGILESQLCodeAssistProcessor
public class ISeriesEditorRPGILESQLCodeAssistProcessor
- extends ISeriesEditorRPGILECodeAssistProcessor
ISeriesEditorRPGILESQLCodeAssistProcessor is the content assis processor for SQL ILE RPG
- Since:
- 7.0
Methods inherited from class com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorCodeAssistProcessor |
addToMatches, addToMatches, addToMatches, addToMatches, compareAndAddToMatches, compareAndAddToMatches, compareAndAddToMatches, compareAndAddToMatches, compareAndAddToMatches, compareAndAddToMatches, compareTextAt, computeCompletionProposals, computeContextInformation, createCompletionProposal, currentElement, currentPosition, findFunctionalMatches, findLastPositionOf, findLastPositionOf, findMatch, formatTemplateProposal, getActiveView, getCase, getCharAt, getCharAt, getCompletionProposalAutoActivationCharacters, getContextInformationAutoActivationCharacters, getContextInformationValidator, getCurrentFullText, getCurrentText, getCurrentTextIgnoreParentheses, getCursorArgument, getCursorArgument, getErrorMessage, getFirstTextBetween, getInfoImage, getNextDeliminator, getNextDeliminator, getPositionOfNextDeliminator, getPositionOfPreviousDeliminator, getPreviousChar, getPreviousChar, getPreviousDeliminator, getPreviousText, getPreviousText, getTemplateImage, getTemplates, getTextAt, getTextAt, getTextInRange, getTokenText, getTypeImage, inParams, inParams, inParams, isDeliminator, isDelimiter, isTextBefore, lineHasCharBefore, stripLeadingChars |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
ISeriesEditorRPGILESQLCodeAssistProcessor
public ISeriesEditorRPGILESQLCodeAssistProcessor(LpexSourceViewer sourceViewer,
ISeriesEditorRPGILESQLParser parser)
- Constructor for this class
- Parameters:
editor
- The editor that the code assist processor belongs toparser
- The parser associated with this processor
getProposalMatches
public ISeriesEditorProposalMatches getProposalMatches(int documentOffset,
String currentText)
- Overrides:
getProposalMatches
in class ISeriesEditorRPGILECodeAssistProcessor
isNotCompleteSQLStatement
public boolean isNotCompleteSQLStatement(int iElement)
- Indicagtes whether or not the element contains a complete cfree sql statement
- Parameters:
iElement
- the element to check
- Returns:
- true if the statement is complete, false if its complete
processFreeForm
protected void processFreeForm(int iCurrentLinePosition,
int iLine,
String currentText,
ISeriesEditorProposalMatches matches)
- Overrides:
processFreeForm
in class ISeriesEditorRPGILECodeAssistProcessor
processTemplates
protected void processTemplates(String context,
int iCurrentLinePosition,
String currentText,
ISeriesEditorProposalMatches matches)
- Add the SQL templates to the list of matches
- Overrides:
processTemplates
in class ISeriesEditorCodeAssistProcessor
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.