如何在自定义 RCP 应用程序中使用网页编辑器?
我想在我自己的 RCP 应用程序中使用“Web 工具编辑器”,它是 Web 工具平台的一部分。 我想我现在已经对 RCP 平台有了一些了解,但是在将 pagedesigner (org.eclipse.jst.pagedesigner) 添加为我的项目的依赖项之后,我仍然不知道如何访问 pagedesigner (org.eclipse.jst.pagedesigner) 的功能。 有没有人有将 Web 工具平台的组件添加到 RCP 应用程序中的经验,并且可以给我一些提示或其他东西?
I want to use the "Web Tools Editor" that is part of the Web Tools Plattform in my own RCP-Application. I think i have got some understanding on the RCP plattform by now, but I still have no clue how to access the functionality of the pagedesigner (org.eclipse.jst.pagedesigner) after adding it as a dependency to my project. Has anyone some experience in adding components of the web tools plattform into an RCP-Application and can give me a hint or something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
处理这些类型的请求是有困难的(我自己经常尝试包含我在 Eclipse IDE 中看到的这个或那个功能)。
诀窍是尝试识别您想要引入的组件,然后尝试将其拉入您的项目,而不引入太多依赖项。
第一步曾经非常困难,但从 3.4 开始,需要使用 Plug-In Spy - 在您想要的组件处于焦点状态时按住
Alt-Shift-F1
应该会给您一个工具提示向您显示类、捆绑包等。第二步总体上更加棘手,也是我通常无法获得任何结果的地方:
这是一件很辛苦的事,而且升级起来也相当困难。 我意识到这些都不是你想听到的。
There's a difficulty with these sorts of requests (I am, myself, trying to include this or that feature that I saw in the Eclipse IDE, every so often).
The trick is to try and identify the component you want to bring in, and then try and pull it into your project, without bringing in too many dependencies.
The first step used to be quite hard, but since 3.4 it is a matter of using the Plug-In Spy - hold down
Alt-Shift-F1
on whilst your desired component is in focus should give you a tooltip showing you the class, the bundle, etc etc.The second step is altogether more tricky and is where I usuaully fail to get any results:
It is hard laborious, and pretty difficult to upgrade. I realise that none of this is what you want to hear.