org.eclipse.xtext.ui.search
Interface IXtextSearchFilter

All Known Implementing Classes:
EcoreSearchFilter, XtendSearchFilter

public interface IXtextSearchFilter

A filter to reject elements form the candidates in the global "Open Xtext Element" dialog. Filters can be registered to the extension point org.eclipse.xtext.ui.searchFilter.

Author:
Jan Koehnlein - Initial contribution and API

Nested Class Summary
static class IXtextSearchFilter.Registry
           
 
Method Summary
 boolean reject(IEObjectDescription element)
          The search dialog AND connects the results of this method called on all registered search filers.
 

Method Detail

reject

boolean reject(IEObjectDescription element)
The search dialog AND connects the results of this method called on all registered search filers. Users should therefore be as specific as possible in the implementation of this method in order not to interfer with filters from other languages.

Parameters:
element - the element to be checked
Returns:
true if the element should NOT appear in the dialog.