Eclipse Platform
Release 3.1

org.eclipse.jface.text
Interface ISelectionValidator


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.
 

Method Detail

isValid

public boolean isValid(ISelection selection)
Tests whether the given post selection is still valid.

Parameters:
selection -
Returns:
true if the selection is still valid

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.