eclipse 3.7.2中没有org.eclipse.search.internal.ui.searchpreferencepage.java [英] org.eclipse.search.internal.ui.searchpreferencepage.java is not available on eclipse 3.7.2

查看:107
本文介绍了eclipse 3.7.2中没有org.eclipse.search.internal.ui.searchpreferencepage.java的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在eclipse 3.7.2版本中找不到org.eclipse.search.internal.ui.searchpreferencepage.java。它在eclipse 3.2.2上可用。任何人都可以帮助我找到为什么这个课程已经从最新版本中删除,并且在新版本上有这个课程的替代方案。



有没有限制相关的方法在eclipse 3.7.2插件上?

解决方案

这是一个内部类,因此不是Eclipse API的一部分,更改恕不另行通知(请参阅 Eclipse API参与规则)。



但它仍然存在于Eclipse 4.3中,但标记为 x-internal:= true Export-Package MANIFEST.MF 中。它也存在于Eclipse 3.8中,在这两种情况下都在 org.eclipse.search 插件中。



以前在偏好页面中的表限制被删除了一段时间以前,可能是在添加了一个树中显示结果的选项。



编辑: p>

进一步的研究显示,在搜索的下拉菜单中,限制已从偏好页面移动到搜索过滤器对话框视图。这里配置的限制可以使用 getElementLimit()方法访问 org.eclipse.search.ui.text.AbstractTextSearchViewPage



getElementLimit()返回 null 如果有无限制。


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?

解决方案

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.

这篇关于eclipse 3.7.2中没有org.eclipse.search.internal.ui.searchpreferencepage.java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆