|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IContextInformationValidator
A context information validator is used to determine if a displayed context information is still valid or should be dismissed.
The interface can be implemented by clients.
IContextInformationPresenter| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 document
true if the information also valid at the given document position
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.