void (ProjectDictionary projectDictionary) { dictionaryStates.clear(); Set<EditableDictionary> projectDictionaries = projectDictionary.getDictionaries(); if (projectDictionaries != null) { for (EditableDictionary dic : projectDictionary.getDictionaries()) { dictionaryStates.add(new DictionaryState(dic)); } } }