Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorCodeAssistInformationPresenter
      extended by com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorContextValidator

public class ISeriesEditorContextValidator
extends ISeriesEditorCodeAssistInformationPresenter

Simple content assist post-insertion tip closer. The information tip is valid as long as the cursor is in a range of 1 characters around its popup location on the same line.


Field Summary
protected  boolean _displayed
           
protected  ISeriesEditorCodeAssistContextInformation _info
           
protected  LpexDocumentLocation _installLocation
           
protected  ISeriesEditorCodeAssistProcessor _processor
           
 
Constructor Summary
ISeriesEditorContextValidator(ISeriesEditorCodeAssistProcessor processor)
           
 
Method Summary
 void install(IContextInformation info, ITextViewer viewer, LpexDocumentLocation location)
           
 boolean isContextInformationValid(LpexDocumentLocation location)
           
 boolean updatePresentation(LpexDocumentLocation documentLocation, TextPresentation presentation)
           
 
Methods inherited from class com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorCodeAssistInformationPresenter
formatString, makeBold, makeTitled, updatePresentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_installLocation

protected LpexDocumentLocation _installLocation

_info

protected ISeriesEditorCodeAssistContextInformation _info

_displayed

protected boolean _displayed

_processor

protected ISeriesEditorCodeAssistProcessor _processor
Constructor Detail

ISeriesEditorContextValidator

public ISeriesEditorContextValidator(ISeriesEditorCodeAssistProcessor processor)
Method Detail

isContextInformationValid

public boolean isContextInformationValid(LpexDocumentLocation location)

install

public void install(IContextInformation info,
                    ITextViewer viewer,
                    LpexDocumentLocation location)

updatePresentation

public boolean updatePresentation(LpexDocumentLocation documentLocation,
                                  TextPresentation presentation)

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.