Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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