Beispiel #1
0
 /**
  * Returns the existing dialog settings for the persisted state of the caught and uncaught check
  * boxes. If no section exists then a new one is created
  *
  * @return the dialog settings section for the type dialog extension
  * @since 3.4
  */
 private IDialogSettings getDialogSettings() {
   IDialogSettings allSetttings = DLTKDebugUIPlugin.getDefault().getDialogSettings();
   IDialogSettings section = allSetttings.getSection(DIALOG_SETTINGS);
   if (section == null) {
     section = allSetttings.addNewSection(DIALOG_SETTINGS);
     section.put(CAUGHT_CHECKED, true);
     section.put(UNCAUGHT_CHECKED, true);
   }
   return section;
 }