org.eclipse.jface.text
Interface ISelectionValidator
-
All Known Implementing Classes:
-
AbstractTextEditor.SelectionProvider
-
public interface ISelectionValidator
A selection validator allows clients to test whether the selection they
received during selection changed notification is valid.
For example, selection and document changes that occur between the original
selection and the point in time the validator is called cause the selection
to be invalid.
Clients may implement and use this interface.
-
Since:
- 3.0
Method Summary
|
boolean
|
isValid
(
ISelection selection)
Tests whether the given post selection is still valid. |
isValid
boolean isValid(
ISelection selection)
- Tests whether the given post selection is still valid.
-
-
Parameters:
-
selection
- the selection
-
Returns:
-
true
if the selection is still valid
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.