void () { if (myEnvFilesExtension != null) return; myEnvFilesExtension = ExtendableTextComponent.Extension.create(AllIcons.General.OpenDisk, AllIcons.General.OpenDiskHover, ExecutionBundle.message("tooltip.browse.for.environment.files"), () -> browseForEnvFile()); getTextField().addExtension(myEnvFilesExtension); getTextField().getEmptyText().setText(ExecutionBundle.message("status.text.environment.variables.or.env.files")); }