void () { myTempPatternsTable = myFileTypeManager.getExtensionMap().copy(); myTempTemplateDataLanguages = TemplateDataLanguagePatterns.getInstance().getAssocTable(); myTempFileTypes = getRegisteredFilesTypes(); myOriginalToEditedMap.clear(); FileTypeManagerImpl.FileTypeWithDescriptor lastSelectedFileType = myRecognizedFileType.getSelectedFileType(); updateFileTypeList(); updateExtensionList(); myIgnoreFilesPanel.setValues(myFileTypeManager.getIgnoredFilesList()); if (myFileTypeToPreselect != null) { myRecognizedFileType.selectFileType(myFileTypeToPreselect); } else if (lastSelectedFileType != null) { myRecognizedFileType.selectFileType(lastSelectedFileType.fileType); } }