Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.codeassist.rpgle
Class ISeriesEditorRPGILECodeAssistProcessor

java.lang.Object
  extended by com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorCodeAssistProcessor
      extended by com.ibm.etools.iseries.edit.codeassist.rpgle.ISeriesEditorRPGILECodeAssistProcessor
Direct Known Subclasses:
ISeriesEditorRPGILESQLCodeAssistProcessor

public class ISeriesEditorRPGILECodeAssistProcessor
extends ISeriesEditorCodeAssistProcessor


Field Summary
protected  ISeriesEditorRPGILEParser _parser
           
protected  long _xmlDate
           
protected  File _xmlFile
           
protected  XmlLite _xmlLite
           
 
Fields inherited from class com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorCodeAssistProcessor
_defaultImage, _deliminators, _delimiters, _imageMap, _infoImage, _keywordImage, _lastProposalCase, _sourceViewer, _templateImage, fValidator
 
Constructor Summary
ISeriesEditorRPGILECodeAssistProcessor(LpexSourceViewer sourceViewer, ISeriesEditorRPGILEParser parser)
          Constructor
 
Method Summary
 ISeriesEditorProposalMatches getContextMatches(int position, String currentText)
           
 ISeriesEditorProposalMatches getProposalMatches(int documentOffset, String currentText)
           
protected  boolean inParamBlock(int position, int element, int minPosition)
           
protected  boolean inParamBlock(String functionName, int position, int element, int minPosition)
           
protected  void processFreeForm(int iCurrentLinePosition, int iLine, String currentText, ISeriesEditorProposalMatches matches)
           
 
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, processTemplates, stripLeadingChars
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_parser

protected ISeriesEditorRPGILEParser _parser

_xmlFile

protected File _xmlFile

_xmlLite

protected XmlLite _xmlLite

_xmlDate

protected long _xmlDate
Constructor Detail

ISeriesEditorRPGILECodeAssistProcessor

public ISeriesEditorRPGILECodeAssistProcessor(LpexSourceViewer sourceViewer,
                                              ISeriesEditorRPGILEParser parser)
Constructor

Method Detail

getProposalMatches

public ISeriesEditorProposalMatches getProposalMatches(int documentOffset,
                                                       String currentText)
Specified by:
getProposalMatches in class ISeriesEditorCodeAssistProcessor

processFreeForm

protected void processFreeForm(int iCurrentLinePosition,
                               int iLine,
                               String currentText,
                               ISeriesEditorProposalMatches matches)

inParamBlock

protected boolean inParamBlock(int position,
                               int element,
                               int minPosition)
Specified by:
inParamBlock in class ISeriesEditorCodeAssistProcessor

inParamBlock

protected boolean inParamBlock(String functionName,
                               int position,
                               int element,
                               int minPosition)
Specified by:
inParamBlock in class ISeriesEditorCodeAssistProcessor

getContextMatches

public ISeriesEditorProposalMatches getContextMatches(int position,
                                                      String currentText)
Specified by:
getContextMatches in class ISeriesEditorCodeAssistProcessor

Rational Developer for Power Systems Software
V7.6

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.