简体   繁体   English

Eclipse RCP-如何将Eclipse RCP首选项页面导出到数据库?

[英]Eclipse RCP - how to export eclipse RCP Preference pages to a database?

What is the best way to export the eclipse/java preferences to the database programmatically? 以编程方式将eclipse / java首选项导出到数据库的最佳方法是什么? How should the properties be exported, by which interface? 应该如何通过哪个接口导出属性?

Unfortunately I don't think that exist such a functionality. 不幸的是,我认为不存在这样的功能。

You can read the propertiwe following this tutorial 您可以阅读本教程后的专有技术

Once you have the properties you need you can save them everywhere. 拥有属性后,您可以将它们保存在任何地方。

You also can use the exportWizard extension point to register your custom export wizard (org.eclipse.ui.IExportWizard) 您还可以使用exportWizard扩展点注册自定义导出向导(org.eclipse.ui.IExportWizard)

you can take a look at PreferencesExportWizard class and WizardPreferencesExportPage1 class 您可以看一下PreferencesExportWizard类和WizardPreferencesExportPage1类

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM