Kuzniarz
Kuzniarz

Reputation: 70

How to open a complete preferences dialog via custom button?

I'm implementing a configuration dialog for custom IWorkingSets. These sets consist of selected projects but also two additional configurations, which have their own properties pages. I've already managed to implement a functioning properties dialog for these working sets, which can be found by right-clicking them and selecting Properties in the Project Explorer, but now I'd like to open that PropertyDialog via a button in my custom configuration dialog.

I've tried to use PropertyDialog, but that dialog is not API. Is there another way to open the properties dialog programmatically?

Upvotes: 0

Views: 79

Answers (1)

greg-449
greg-449

Reputation: 111142

org.eclipse.ui.dialogs.PreferencesUtil provides an official API for the property dialog with three createPropertyDialogOn methods.

Upvotes: 2

Related Questions