org.eclipse.xtext.xtend2.ui.search
Class Xtend2SearchFilter

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

public class Xtend2SearchFilter
extends java.lang.Object
implements IXtextSearchFilter

Filters inferred JVM elements from open model element dialog.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.search.IXtextSearchFilter
IXtextSearchFilter.Registry
 
Constructor Summary
Xtend2SearchFilter()
           
 
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

Xtend2SearchFilter

public Xtend2SearchFilter()
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.