java - Eclipse RCP 首选项对话框

标签 java eclipse eclipse-rcp

问题

是否可以创建第二个首选项对话框,它可以采用一些 PreferencePage,很像标准的 eclipse 首选项(Eclipse > 首选项或窗口 > 首选项)?

当前方法

到目前为止,我的解决方案是通过扩展 Dialog 并实现我自己的 Preference Dialog 样式布局来创建我自己的 PreferenceEditorDialog

/**
 * 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 正是您要找的。

关于java - Eclipse RCP 首选项对话框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10405931/

相关文章:

java - Tomcat 服务器(来自 XAMPP 包)无法从 Eclipse 启动

java - 如何在 eclipse rcp 中管理 i18n 属性文件?

c# - 纯抽象类和接口(interface)之间的区别

java - Boot 3.2 升级后 Spring 授权服务器不工作

java - 在 JLabel 怪异中加载动画 GIF

java - j4签署外部签名CMSSignedDataGenerator验证

eclipse - 在组织导入或自动完成期间如何避免名称冲突?

java - 如何为 Eclipse 项目中的文件指定正确的 URL

java - Eclipse RCP - 程序中的 JAXB 异常,但在最小示例中不存在 : javax. xml.bind.JAXBElement 或其任何父类(super class)在此上下文中已知

java - 向不同部分添加自定义渲染器