关于向Eclipse RCP程序添加搜索的教程 [英] A tutorial on adding search to an Eclipse RCP program

查看:144
本文介绍了关于向Eclipse RCP程序添加搜索的教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一点可以指出一个关于如何使用Eclipse RCP程序中的自定义视图使用Eclipse搜索插件的教程。我已经尝试搜索google一个,但我发现在你的搜索短语中有搜索这个词,你可能没有在那里。



我试过短语Eclipse RCP搜索Eclipse RCP搜索教程Eclipse RCP搜索插件,我的结果都没有关于搜索插件(也许是一个建议的搜索短语,如果不能建议一个好的教程) p>

解决方案

实现自定义搜索并不难。最好的方法是查看其他插件,看看他们如何实现搜索。
为了让您开始,我推荐了Mylyn中的Task-Search - 很容易采用。



只需从Mylyn中删除源代码,然后查看



  org.eclipse.mylyn.tasks.search 

HTH Tom


Could some one point me to a tutorial on how to work with the Eclipse search plug-in with custom views in an Eclipse RCP program. I have tried searching google for one, but I have found to have the word "search" in your search phrase you might as well not have it there.

I have tried the phrase "Eclipse RCP search" "Eclipse RCP search tutorial" "Eclipse RCP search plug-in" and none of my results are about the search plug-in (maybe a suggested search phrase if one can not suggest a good tutorial)

解决方案

Implementing your custom search is not that hard. The best is to look into other plugins to see how they implemented the search. To get you started I recommed the Task-Search from Mylyn - very easy to adopt.

Just donwload the sources from Mylyn and look at the bundle

org.eclipse.mylyn.tasks.search

HTH Tom

这篇关于关于向Eclipse RCP程序添加搜索的教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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