![](/img/trans.png)
[英]Eclipse RCP - how to export eclipse RCP Preference pages to a database?
[英]Eclipse RCP Preference Dialog
是否有可能创建第二个首选项对话框,可以采取一些PreferencePage
,很像标准的Eclipse首选项(Eclipse的>首选项或窗口>首选项)?
到目前为止,我的解决方案是通过扩展Dialog
创建我自己的PreferenceEditorDialog
并实现我自己的Preference Dialog样式布局。
/**
* A preference dialog is a hierarchical presentation of preference pages. Each
* page is represented by a node in the tree shown on the left hand side of the
* dialog; when a node is selected, the corresponding page is shown on the right
* hand side.
*/
public class PreferenceEditorDialog extends Dialog implements IPageChangeProvider {
}
我更愿意重用eclipse实现,因为我不必自己维护代码。
PreferenceDialog
是您正在寻找的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.