user3021350
user3021350

Reputation: 1

org.eclipse.search.internal.ui.searchpreferencepage.java is not available on eclipse 3.7.2

I could not find org.eclipse.search.internal.ui.searchpreferencepage.java in eclipse 3.7.2 version.It was available on eclipse 3.2.2. Can any one help me on finding that why this class has been removed from latest version and is there any alternative for this class on new version.

Is there any limit related methods on eclipse 3.7.2 plugins?

Upvotes: 0

Views: 72

Answers (1)

greg-449
greg-449

Reputation: 111216

This is an internal class and consequently is not part of the Eclipse API and is subject to change without notice (see Eclipse API Rules of Engagement).

However it is still present in Eclipse 4.3 but is marked x-internal:=true in the Export-Package in the MANIFEST.MF. It is also present in Eclipse 3.8, in both cases in the org.eclipse.search plug-in.

The table limits which used to be in the preference page were removed some time ago, probably when the option to show the results in a tree was added.

Edit:

Further research shows the limit was moved from the preferences page to the Search Filters dialog in the drop down menu of the search view. The limit configured here can be accessed using the getElementLimit() method of org.eclipse.search.ui.text.AbstractTextSearchViewPage

getElementLimit() returns null if there is no limit.

Upvotes: 1

Related Questions