Java Eclipse插件开发-以编程方式保存所有项目的文件 [英] Java Eclipse plugin Development - Save all project's files programmatically

查看:147
本文介绍了Java Eclipse插件开发-以编程方式保存所有项目的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Eclipse开发一个插件。
我希望它建议用户在运行之前保存未保存的资源。
这与eclipse建议您在调试之前保存未保存的文件的行为类似。

I'm developing a plugin for Eclipse. I'd like it to suggest the user to save unsaved resources before running. This is in a similar behavior to how eclipse suggest you to save unsaved files before debugging.

本质上,我想打开以下对话框:

In essence, I would like to open the following dialog:

任何帮助将不胜感激。

推荐答案

如果在该对话框中单击alt-shift-F1,则会看到它所在的插件,然后可以触发该操作或直接调用该代码。

If you hit alt-shift-F1 on that dialog, you will see which plugin it is in, and then you could either trigger that action, or call that code directly.

这篇关于Java Eclipse插件开发-以编程方式保存所有项目的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆