| <!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" |
| content="text/html; charset=iso-8859-1"> |
| <meta name="Author" content="IBM"> |
| <title>Search Breaking API changes</title> |
| <link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" |
| type="text/css"> |
| </head> |
| <body style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> |
| <font color="#8080ff" size="-2">platform search</font> |
| <p>This document lists the breaking API changes that occurred between |
| R3.1 and R3.2 and |
| how to migrate from the R3.1 API to the R3.2 API. |
| </p> |
| <table border="0" cellpadding="2" cellspacing="5" width="100%" summary="Breaking API changes"> |
| <tbody> |
| <tr> |
| <td align="left" width="72%"> <font size="+3"><b>search - |
| Breaking API changes from R3.1 to R3.2</b></font> <br> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| None |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <p> </p> |
| <table border="0" cellpadding="2" cellspacing="5" width="100%" summary="Non-breaking API changes"> |
| <tbody> |
| <tr> |
| <td align="left" width="72%"> <font size="+3"><b>search - |
| Non-breaking API changes from R3.1 to R3.2</b></font> <br> |
| </td> |
| </tr> |
| <tr> |
| <td>new API added to use the text search programmatically |
| <ul> |
| <li>TextSearchEngine</li> |
| <li>TextSearchScope</li> |
| <li>TextSearchMatchAccess</li> |
| <li>TextSearchRequestor</li> |
| <li>extension point textSearchQueryProvider</li> |
| </ul> </td> |
| </tr> |
| <tr> |
| <td>new API on AbstractTextSearchViewPage |
| <ul> |
| <li>handleSearchResultChanged(SearchResultEvent) protected to participate on search result events</li> |
| <li>getCurrentMatchLocation(Match match)</li> |
| <li>canRemoveMatchesWith(ISelection selection)</li> |
| <li>postEnsureSelection()</li> |
| </ul> |
| </td> |
| </tr> |
| <tr> |
| <td>new API on NewSearchUI to start a query in a particular view |
| <ul> |
| <li>runQueryInBackground(ISearchQuery query, ISearchResultViewPart view)</li> |
| <li>runQueryInForeground(IRunnableContext context, ISearchQuery query, ISearchResultViewPart view)</li> |
| </ul> |
| </td> |
| </tr> |
| <tr> |
| <td>new API added to provide a new search query provider |
| <ul> |
| <li>TextSearchQueryProvider</li> |
| <li>FileTextSearchScope</li> |
| <li>extension point textSearchQueryProvider</li> |
| </ul> |
| </td> |
| </tr> |
| <tr> |
| <td>new action group containing the text search actions |
| <ul> |
| <li>TextSearchGroup</li> |
| </ul> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <p> </p> |
| </body> |
| </html> |