void () { Set<EditableDictionary> dictionaries = new HashSet<>(); if (dictionaryStates != null) { for (DictionaryState dictionaryState : dictionaryStates) { dictionaryState.loadState(dictionaryState); dictionaries.add(dictionaryState.getDictionary()); } } projectDictionary = new ProjectDictionary(dictionaries); myDictListenerEventDispatcher.getMulticaster().dictChanged(projectDictionary); }