Esempio n. 1
0
 /** Initializes the controls */
 void initialize() {
   IDialogSettings settings =
       ApiUIPlugin.getDefault().getDialogSettings().getSection(SETTINGS_SECTION);
   if (settings != null) {
     restoreTextSelection(REPORT_PATH_STATE, settings);
   }
 }
Esempio n. 2
0
 /** Saves the state of the widgets on the page */
 void saveWidgetState() {
   IDialogSettings rootsettings = ApiUIPlugin.getDefault().getDialogSettings();
   IDialogSettings settings = rootsettings.getSection(SETTINGS_SECTION);
   if (settings == null) {
     settings = rootsettings.addNewSection(SETTINGS_SECTION);
   }
   settings.put(REPORT_PATH_STATE, getValue());
 }