Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-ui-dev] Question regarding NamePatternFilter



We adapt to IResource because most likely there will be such an adapter. Do
you have a real use case which is not covered?

Dani


                                                                           
             "Jesper Kamstrup                                              
             Linnet"                                                       
             <eclipse@kamstrup                                          To 
             -linnet.dk>               <jdt-ui-dev@xxxxxxxxxxx>            
             Sent by:                                                   cc 
             jdt-ui-dev-admin@                                             
             eclipse.org                                           Subject 
                                       [jdt-ui-dev] Question regarding     
                                       NamePatternFilter                   
             11.04.2003 15:30                                              
                                                                           
                                                                           
             Please respond to                                             
             jdt-ui-dev@eclips                                             
                   e.org                                                   
                                                                           
                                                                           




Hi,

In org.eclipse.jdt.internal.ui.filters.NamePatternFilter, the select method
checks whether the element is an instance of IJavaElement. If not, it
attempts to obtain an adapter to an IResource. Is there any reason why it
doesn't try to adapt to IJavaElement as well?

Best regards,

Jesper

------------------------------------
Jesper Kamstrup Linnet
Peter Bangs Vej 91, 1.tv.
2000 Frederiksberg

Tlf. 38 74 80 94 / 26 24 80 94



_______________________________________________
jdt-ui-dev mailing list
jdt-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-ui-dev




Back to the top