use of com.intellij.find.findInProject.FindInProjectManager in project intellij-community by JetBrains.
the class FindInPathAction method actionPerformed.
@Override
public void actionPerformed(AnActionEvent e) {
DataContext dataContext = e.getDataContext();
Project project = e.getData(CommonDataKeys.PROJECT);
FindInProjectManager findManager = FindInProjectManager.getInstance(project);
if (!findManager.isEnabled()) {
showNotAvailableMessage(e, project);
return;
}
findManager.findInProject(dataContext);
}
Aggregations