|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 documentPosition)
Installs this validator for the given context information. |
boolean |
isContextInformationValid(int documentPosition)
Returns whether the information this validator is installed on is still valid at the given document position. |
| Method Detail |
public void install(IContextInformation info,
ITextViewer viewer,
int documentPosition)
info - the context information which this validator should checkviewer - the text viewer on which the information is presenteddocumentPosition - the document position for which the information has been computedpublic boolean isContextInformationValid(int documentPosition)
documentPosition - the current position within the document
true if the information also valid at the given document position
|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||