Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.codeassist.base
Class ISeriesEditorDefaultCodeAssistProcessor

java.lang.Object
  extended by com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorCodeAssistProcessor
      extended by com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorDefaultCodeAssistProcessor

public class ISeriesEditorDefaultCodeAssistProcessor
extends ISeriesEditorCodeAssistProcessor

This is a simple language-agnostic code-assist processor used to handle templates in any free-form language.


Field Summary
 
Fields inherited from class com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorCodeAssistProcessor
_defaultImage, _deliminators, _delimiters, _imageMap, _infoImage, _keywordImage, _lastProposalCase, _sourceViewer, _templateImage, fValidator
 
Constructor Summary
ISeriesEditorDefaultCodeAssistProcessor(LpexSourceViewer editor, String language)
          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 function, int position, int element, int minPosition)
           
 
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
 

Constructor Detail

ISeriesEditorDefaultCodeAssistProcessor

public ISeriesEditorDefaultCodeAssistProcessor(LpexSourceViewer editor,
                                               String language)
Constructor

Method Detail

getProposalMatches

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

inParamBlock

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

inParamBlock

protected boolean inParamBlock(String function,
                               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.