繁体   English   中英

Eclipse RCP首选项对话框

[英]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.

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