org.eclipse.xtext.ui.ecore.search
Class EcoreSearchFilter

java.lang.Object
  extended by org.eclipse.xtext.ui.ecore.search.EcoreSearchFilter
All Implemented Interfaces:
IXtextSearchFilter

public class EcoreSearchFilter
extends java.lang.Object
implements IXtextSearchFilter


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.search.IXtextSearchFilter
IXtextSearchFilter.Registry
 
Constructor Summary
EcoreSearchFilter()
           
 
Method Summary
 boolean reject(IEObjectDescription element)
          The search dialog AND connects the results of this method called on all registered search filers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EcoreSearchFilter

public EcoreSearchFilter()
Method Detail

reject

public boolean reject(IEObjectDescription element)
Description copied from interface: IXtextSearchFilter
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.

Specified by:
reject in interface IXtextSearchFilter
Parameters:
element - the element to be checked
Returns:
true if the element should NOT appear in the dialog.