Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-search-dev] Breaking API changes in tomorrows I-build


Just to make this clear: this is new API in 3.0, so unless you implement a search with the new (3.0) API, you can safely ignore this message.

Thomas

PS: Sorry for the previous repeat post, but my mail client died.



Thomas Maeder/Zurich/IBM@IBMCH
Sent by: platform-search-dev-admin@xxxxxxxxxxx

04/19/2004 12:36 PM
Please respond to platform-search-dev

       
        To:        platform-search-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-search-dev] Breaking API changes in tomorrows I-build




From the build notes:

The methods in
AbstractTextSearchResult related to mapping matches to files and editors have been moved to two new Interfaces: IFileMatchAdapter and IEditorMatchAdapter. AbstractTextSearchResult now has two new methods getFileMatchAdapter and getEditorMatchAdapter to get adapter objects. The default implementation of these methods is to return null. Clients who have empty implementations of either set of methods can just delete the methods. Clients who had meaningful implementations can implement the interfaces and return this from the new getter methods. Note that the findContainedMatches(...) methods have a new parameter AbstractTextSearchResult result.

you'll have to check out HEAD of org.eclipse.search if you want to see the changes.

Thomas


Back to the top