我已经自动生成了一个演示弹出菜单插件项目。这是项目结构,
我已经将objectContribution设置为org.eclipse.ui.popupMenus,
当我右键单击该项目并选择Run as - > Eclipse Application,另一个Eclipse进程运行,我可以看到配置的菜单运行良好,
如何为原始Eclipse流程安装此插件?
我尝试了什么
我做了一些研究并尝试导出 - >可部署的插件和片段,然后将其放入%EclipseFolder%/plugins
,但它不起作用。我也试过导出 - >可部署功能并通过帮助 - >安装新软件进行安装,右键单击项目时也无法看到菜单。
答案 0 :(得分:0)
Use the Deployable plug-ins and fragments wizard and select Intall into Host on the Destination page.
This will create a p2 repository at the denoted location and install the selected plug-ins from there into the host instance, i.e. the Eclipse IDE that you are currently working with. I think a restart may be required.