blob: 3b98d2fcadadd2ebb6d41952ae04d9ba17ef54fc [file] [log] [blame]
<!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.2 and R3.3 and
how to migrate from the R3.2 API to the R3.3 API.
</p>
<table border="0" cellpadding="2" cellspacing="5" width="100%" summary="Breaking API changes from R3.2 to R3.3">
<tbody>
<tr>
<td align="left" width="72%"> <font size="+3"><b>search -
Breaking API changes from R3.2 to R3.3</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 from R3.2 to R3.3">
<tbody>
<tr>
<td align="left" width="72%"> <font size="+3"><b>search -
Non-breaking API changes from R3.2 to R3.3</b></font> <br>
</td>
</tr>
<tr>
<td>New constant added to org.eclipse.search.ui.IContextMenuConstants
<ul>
<li>GROUP_EDIT</li>
<li>GROUP_FILTERING</li>
</ul> </td>
</tr>
<tr>
<td>Added support for match filters:
<ul>
<li>Added class MatchFilter (org.eclipse.search.ui.text): MatchFilters are managed by the AbstractTextSearchResult and used to update the filter state of a match (see Match.isFiltered()). Filtered matches are still part of the search result but are not shown in the AbstractSearchViewPart and rendered as 'filtered search result' in editors</li>
<li>New API in AbstractTextSearchResult (org.eclipse.search.ui.text):
<ul>
<li>getAllMatchFilters(): All match filters applicable on this search result. If non-nuill is returned, the AbstractSearchViewPart will add corresponding filter actions to the view menu</li>
<li>getActiveMatchFilters(): All match filters currently applied to this search result</li>
<li>setActiveMatchFilters(): Update filters</li>
</ul>
</li>
<li>Added class FilterUpdateEvent (org.eclipse.search.ui.text): FilterUpdateEvents are sent out when filters are updated by AbstractSearchResult.setActiveMatchFilters(..). The AbstractSearchViewPart listens to these changes and takes care of adding or removing filtered elements</li>
<li>Added API to AbstractTextSearchViewPage (org.eclipse.search.ui.text): getElementLimit, setElementLimit</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>
API changes from 3.1 to 3.2 can be found <a href="../r3.2/apichanges_search.html?view=co">here</a>.
</p>
</body>
</html>