0

我是 Graphiti 和 Spray 的初学者,也是 Eclipse 的初学者。我正在使用 Spray DSL 制作图形编辑器,我遇到的问题是无论我尝试什么,属性视图都没有被激活。我已经详细浏览了 plugin.xml 和 plugin_propertysections.xml 文件,一切似乎都井井有条。我已经检查了这个资源:http ://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.graphiti.doc%2Fresources%2Fdocu%2Fgfw%2Fproperty -sheet.htm 无济于事。

属性视图的所有内容都已实现,但似乎某些地方无法激活它。我将非常感谢对此的一些支持。

4

1 回答 1

0

问题解决了。“org.eclipse.ui.views.properties.tabbed.propertyContributor”扩展点的 ContributorId 与 autogen plugin.xml 中“org.eclipse.ui.views.properties.tabbed.propertyTabs”中的 ID 不匹配。如果有人遇到类似问题,请仔细检查案例和 ID。答案就在 plugin.xml 中。

于 2014-12-10T16:49:02.583 回答