com.ibm.etools.iseries.edit.codeassist.base
Class ISeriesEditorContextValidator
java.lang.Object
com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorCodeAssistInformationPresenter
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.
Method Summary |
void |
install(IContextInformation info,
ITextViewer viewer,
LpexDocumentLocation location)
|
boolean |
isContextInformationValid(LpexDocumentLocation location)
|
boolean |
updatePresentation(LpexDocumentLocation documentLocation,
TextPresentation presentation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_installLocation
protected LpexDocumentLocation _installLocation
_info
protected ISeriesEditorCodeAssistContextInformation _info
_displayed
protected boolean _displayed
_processor
protected ISeriesEditorCodeAssistProcessor _processor
ISeriesEditorContextValidator
public ISeriesEditorContextValidator(ISeriesEditorCodeAssistProcessor processor)
isContextInformationValid
public boolean isContextInformationValid(LpexDocumentLocation location)
install
public void install(IContextInformation info,
ITextViewer viewer,
LpexDocumentLocation location)
updatePresentation
public boolean updatePresentation(LpexDocumentLocation documentLocation,
TextPresentation presentation)
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.