void () { FileType fileType = FileTypeManager.getInstance().findFileTypeByName("VTL"); if (fileType == null) { fileType = PlainTextFileType.INSTANCE; } Project project = ProjectManager.getInstance().getDefaultProject(); myBranchNameFormat = new EditorTextField(project, fileType); setupAddAction(myBranchNameFormat); myChangelistNameFormat = new EditorTextField(project, fileType); setupAddAction(myChangelistNameFormat); }