问题描述
我正在使用Eclipse HELIOS来编写一个富客户端应用程序。
将以下条目自动添加到我的APPPERSPECTIVES MENU中:
Java,Java浏览,Java类型层次结构,团队同步。
我需要摆脱它们。
我使用扩展点=org.eclipse.ui.activities来禁用不需要的扩展(如编辑器和搜索选项显示在coolbar上)
我设法通过添加org.eclipse.debug.ui。*来摆脱Debug p>
这是我的实际配置:
< extension point =org .eclipse.ui.activities>
< activity id =rcpcolibri.disablextensionsname =隐藏活动/>
< activityPatternBinding activityId =rcpcolibri.disablextensionspattern =org.eclipse.debug.ui。*/>
< activityPatternBinding activityId =rcpcolibri.disablextensionspattern =org.eclipse.search。*/>
< activityPatternBinding activityId =rcpcolibri.disablextensionspattern =org.eclipse.ui.editors。*/>
< activityPatternBinding activityId =rcpcolibri.disablextensionspattern =org.eclipse.ui.externaltools。*/>
< / extension>
我应该禁用哪些扩展程序?
还有另一种管理这个问题的方法吗?
Eclipse应该以另一种方式工作:我们要添加我们需要的东西,而不是eclipse中抛出的一切...
谢谢。
您创建RCP时,您遵循哪些模板?
如果您查看,您可以在其中看到 activityPatternBinding
过滤的具体示例。
他还建议将这些活动与一些。
I'm using Eclipse HELIOS to code a Rich Client app.The following entries are added automatically to my APP "PERSPECTIVES MENU":"Java, Java Browsing, Java Type Hierarchy, Team Synchronizing".I need to get rid of them.
i'm using the extension point="org.eclipse.ui.activities" to disable unwanted extensions (like the editor and search options that appear on the coolbar)
I managed to get rid of "Debug" by adding "org.eclipse.debug.ui.*"
This is my actual config:
<extension point="org.eclipse.ui.activities">
<activity id="rcpcolibri.disablextensions" name="Hidden activities"/>
<activityPatternBinding activityId="rcpcolibri.disablextensions" pattern="org.eclipse.debug.ui.*"/>
<activityPatternBinding activityId="rcpcolibri.disablextensions" pattern="org.eclipse.search.*"/>
<activityPatternBinding activityId="rcpcolibri.disablextensions" pattern="org.eclipse.ui.editors.*"/>
<activityPatternBinding activityId="rcpcolibri.disablextensions" pattern="org.eclipse.ui.externaltools.*"/>
</extension>
What extensions should i disable?
Is there another way of managing this issue?
Eclipse should work the other way arround: we shoud ADD what we need, and not have everything thrown in by eclipse...
Thanks.
What template did you follow to create your RCP?
If you look at Vogella's RCP tutorial, you end up with a very empty RCP:
That being said, Vogella also addresses activities in his "Eclipse Activities – Hide / Display certain UI elements", where you can see concrete example of activityPatternBinding
filtering.
He recommends also to combine those activities with some commands.
这篇关于Eclipse RCP应用程序:如何禁用特定的扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!