public void actionPerformed(AnActionEvent e) {
final Project ideaProject = e.getData(PlatformDataKeys.PROJECT);
final LeiningenProjectsManager manager =
LeiningenProjectsManager.getInstance(ideaProject);
FileChooserDescriptor leinProjectFileDescriptor = new FileChooserDescriptor(true, false, false, false, false, true) {
@Override
public boolean isFileSelectable(VirtualFile file) {
return super.isFileSelectable(file) && !manager.isManagedFile(file);
}