Eclipse RCP - 删除上下文菜单条目“输入法”

发布于 2024-10-08 13:56:57 字数 217 浏览 0 评论 0原文

我有一个 Eclipse RCP 应用程序。主要编辑一张GMF图。当我右键单击图表时,我会看到一个上下文菜单,其中包含“输入法”条目。该条目本身具有子菜单条目。

我需要删除“输入法”菜单条目。有谁知道该怎么做? 我找不到该条目的 ID。

(更新:原来这个上下文菜单条目只出现在linux上(用Ubuntu 10.04测试)。它不会出现在Windows XP和MacOs下(不确定版本))

I have a Eclipse RCP app. The main editor a a GMF diagram. When I do a right click on the diagram, I get a context menu that has a entry 'Input Methods'. This entry itself has sub-menu-entries.

I need to remove that 'Input Methods' menu entry. Does anyone know how to do that?
I can't find the id of that entry.

(Update: It turned out that this context menu entry only appears on linux (tested with Ubuntu 10.04). It does not appear under Windows XP and MacOs (not sure of the version))

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

辞慾 2024-10-15 13:56:57

我找到了一个论坛条目,它告诉您如何删除“输入法”上下文菜单条目。
这仅适用于 Linux,但该条目似乎也只出现在 Linux 上。

http://dev.eclipse.org/newslists/news.eclipse.newcomer /msg20408.html

I found a forum entry, that tells how to remove the 'Input Methods' context menu entry.
This works only for linux, but the entry seems to appear on linux only also.

http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg20408.html

赠佳期 2024-10-15 13:56:57

有一个内部设置“org.eclipse.swt.widgets.composite.NO_INPUT_METHOD”可以控制。
您可以在创建显示后对其进行设置。

display.setData("org.eclipse.swt.internal.gtk.noInputMethod",true);

There is a internal setting "org.eclipse.swt.widgets.composite.NO_INPUT_METHOD" can control.
You can set it after display created.

display.setData("org.eclipse.swt.internal.gtk.noInputMethod",true);
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文