Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
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, 2004. All rights reserved.