/**
  * Returns the dialog settings for this UI plug-in. The dialog settings is used to hold persistent
  * state data for the various wizards and dialogs of this plug-in in the context of a workbench.
  *
  * <p>If an error occurs reading the dialog store, an empty one is quietly created and returned.
  *
  * <p>Subclasses may override this method but are not expected to.
  *
  * @return the dialog settings
  */
 public IDialogSettings getDialogSettings() {
   if (dialogSettings == null) {
     loadDialogSettings();
   }
   return dialogSettings;
 }