【问题标题】:What is context Id of cdt plugin?cdt 插件的上下文 ID 是什么?
【发布时间】:2013-09-25 14:45:05
【问题描述】:

我想知道 CDT 的上下文 ID。

使用的上下文 ID:

PlatformUI.getWorkbench().getHelpSystem().displayHelpResource(cdt_context_id);

有什么方法可以找到各种帮助内容的上下文id?

【问题讨论】:

    标签: java eclipse eclipse-plugin eclipse-cdt


    【解决方案1】:

    我认为您可以使用 Eclipse Plug-in spy 来查看菜单、工具栏贡献等的详细信息。Plugin -spy 窗口将显示所选 UI 元素的所有详细信息,例如哪个插件贡献了该元素、哪个类等。 .在底部将显示相应的帮助上下文ID。

    To inspect the current selection, press ALT-SHIFT-F1
    To inspect menus, press ALT-SHIFT-F2 and then select the menu item
    

    详情将在以下链接中显示

    http://www.eclipse.org/pde/incubator/spy/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-04-25
      • 2012-08-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-05-11
      相关资源
      最近更新 更多