mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-66494 Switching between search and replace
This commit is contained in:
@@ -31,6 +31,10 @@ import com.intellij.psi.PsiElement;
|
||||
public class FindInPathAction extends AnAction implements DumbAware {
|
||||
static final NotificationGroup NOTIFICATION_GROUP = NotificationGroup.toolWindowGroup("FindInPath", ToolWindowId.FIND, false);
|
||||
|
||||
{ // enabled in modal content for find in path <-> replace in path modal dialog transition
|
||||
setEnabledInModalContext(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void actionPerformed(AnActionEvent e) {
|
||||
DataContext dataContext = e.getDataContext();
|
||||
|
||||
@@ -22,6 +22,10 @@ import com.intellij.openapi.actionSystem.*;
|
||||
import com.intellij.openapi.project.Project;
|
||||
|
||||
public class ReplaceInPathAction extends AnAction {
|
||||
{ // enabled in modal content for find in path <-> replace in path modal dialog transition
|
||||
setEnabledInModalContext(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void actionPerformed(AnActionEvent e) {
|
||||
DataContext dataContext = e.getDataContext();
|
||||
|
||||
Reference in New Issue
Block a user