1

質問

PreferencePage標準のEclipseプリファレンス(Eclipse>プリファレンスまたはウィンドウ>プリファレンス)のように、いくつかをとることができる2番目のプリファレンスダイアログを作成することは可能ですか?

現在のアプローチ

これまでの私の解決策は、独自の設定ダイアログスタイルのレイアウトPreferenceEditorDialogを拡張して実装することにより、独自のソリューションを作成することでした。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の実装を再利用したいと思います。

4

1 に答える 1

3

PreferenceDialogあなたが探しているものです。

于 2012-05-02T06:45:50.853 に答える