Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.text.contentassist
Interface IContextInformationValidator

All Known Subinterfaces:
ISubjectControlContextInformationValidator
All Known Implementing Classes:
ContextInformationValidator, SubjectControlContextInformationValidator

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.

See Also:
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

install

void install(
IContextInformation info,
             
ITextViewer viewer,
             int offset)
Installs this validator for the given context information.

Parameters:
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

isContextInformationValid

boolean isContextInformationValid(int offset)
Returns whether the information this validator is installed on is still valid at the given document position.

Parameters:
offset - the current offset within the document
Returns:
true if the information also valid at the given document position

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire