public interface IContextInformationValidator
The interface can be implemented by clients.
|Modifier and Type||Method and Description|
Installs this validator for the given context information.
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 check
viewer- the text viewer on which the information is presented
offset- the document offset for which the information has been computed
boolean isContextInformationValid(int offset)
offset- the current offset within the document
trueif the information also valid at the given document position
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.