|
Eclipse Platform Release 3.3 |
|||||||||||
| 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 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 |
public 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 computedpublic boolean 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.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.