void () { copyTypeMap(); ApplicationManager.getApplication().runWriteAction(() -> { if (!myFileTypeManager.isIgnoredFilesListEqualToCurrent(myIgnoreFilesPanel.getValues())) { myFileTypeManager.setIgnoredFilesList(myIgnoreFilesPanel.getValues()); } myFileTypeManager.setPatternsTable(myTempFileTypes, myTempPatternsTable); TemplateDataLanguagePatterns.getInstance().setAssocTable(myTempTemplateDataLanguages); }); }