RCP products often use the [Preferences] dialog box to set the properties, need independent implementation
The implementation is as follows:
// get IWorkbench IWorkbench wb = MainPlugin.getDefault () getWorkbench ();. // get property manager PreferenceManager mgr = wb.getPreferenceManager (); // get Shell Shell sh = wb.getActiveWorkbenchWindow () getShell ();. / / Create the first option window PreferenceDialog Diag = New PreferenceDialog (SH, MGR);