public interface IContextInformationValidator
The interface can be implemented by clients.
IContextInformationPresenter
Modifier and Type | Method and Description |
---|---|
void |
install(IContextInformation info,
ITextViewer viewer,
int offset)
Installs this validator for the given context information.
|
boolean |
isContextInformationValid(int offset)
Returns whether the information this validator is installed on is still valid
at the given document position.
|
void install(IContextInformation info, ITextViewer viewer, int offset)
info
- the context information which this validator should checkviewer
- the text viewer on which the information is presentedoffset
- the document offset for which the information has been computedboolean isContextInformationValid(int offset)
offset
- the current offset within the documenttrue
if the information also valid at the given document position
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.