public void saveProperties() { ResourceController.getResourceController() .setProperty(LAST_OPENED, ConfigurationUtils.encodeListValue(lastOpenedList, true)); }
private void restoreList(final String key, final List<String> list) { final String restored = ResourceController.getResourceController().getProperty(key, null); if (restored != null && !restored.equals("")) { list.addAll(ConfigurationUtils.decodeListValue(restored, true)); } }