You need to create your own action that extends OpenPreferencesAction and overrides the run () method, passing in the identifier of the page you want to open. If you look at OpenPreferencesAction, you will see that the launch method looks like this:
public void run() { if (workbenchWindow == null) { // action has been dispose return; } PreferenceDialog dialog = PreferencesUtil.createPreferenceDialogOn(null, null, null, null); dialog.open(); }
The second and third parameters determine the identifier of the displayed page and filtering criteria.
source share