【问题标题】:Force Link With Editor to be activated by default in Eclipse RCP在 Eclipse RCP 中默认激活与编辑器的链接
【发布时间】:2014-10-27 21:50:00
【问题描述】:

我正在尝试让 Eclipse 强制激活 Link With Editor 默认选项。解决方案不一定需要以编程方式,但它会很好。所以,我也可以使用 .epf 设置或任何其他选项。

到目前为止,我找到了这个链接:"link with editor" for FormEditor

【问题讨论】:

    标签: java eclipse editor rcp


    【解决方案1】:

    据我所知,没有偏好设置在<workspace>/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi(如<sharedElements ... elementId="org.eclipse.ui.navigator.ProjectExplorer" ...> ... <persistedState key="memento" value="...CommonNavigator.LINKING_ENABLED="0"..."/>...="1"..."/>)中。

    以编程方式,可以通过setLinkingEnabled 方法在org.eclipse.ui.navigator.resources.ProjectExplorer 类中设置链接启用。

    【讨论】:

      猜你喜欢
      • 2012-08-10
      • 1970-01-01
      • 2011-01-13
      • 1970-01-01
      • 1970-01-01
      • 2021-07-23
      • 1970-01-01
      • 2018-04-22
      • 2013-02-28
      相关资源
      最近更新 更多