Пример #1
0
 public void restoreProperties() {
   getModel().clear();
   UserProfile profile = GlobalOptions.getSelectedProfile();
   villageSelectionPanel.setExpertSelection(
       Boolean.parseBoolean(profile.getProperty("ret.source.expert")));
   villageSelectionPanel.setup();
 }
Пример #2
0
 public void storeProperties() {
   UserProfile profile = GlobalOptions.getSelectedProfile();
   profile.addProperty("ret.source.expert", villageSelectionPanel.isExpertSelection());
 }