mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SSR: validate on checkbox change
GitOrigin-RevId: 8cb46e8d3e03bb5cea1bc81474a56951c578a858
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1eb61032e1
commit
049ba0075c
+3
-1
@@ -486,7 +486,7 @@ public class StructuralSearchDialog extends DialogWrapper implements ProjectMana
|
||||
myReformat = new JCheckBox(SSRBundle.message("reformat.checkbox"));
|
||||
myUseStaticImport = new JCheckBox(SSRBundle.message("use.static.import.checkbox"));
|
||||
|
||||
OnePixelSplitter replaceEditorPanel = new OnePixelSplitter(false, 1.0f);
|
||||
final OnePixelSplitter replaceEditorPanel = new OnePixelSplitter(false, 1.0f);
|
||||
replaceEditorPanel.setLackOfSpaceStrategy(Splitter.LackOfSpaceStrategy.HONOR_THE_SECOND_MIN_SIZE);
|
||||
myReplaceCriteriaEdit = createEditor(true);
|
||||
replaceEditorPanel.setFirstComponent(myReplaceCriteriaEdit);
|
||||
@@ -568,7 +568,9 @@ public class StructuralSearchDialog extends DialogWrapper implements ProjectMana
|
||||
|
||||
myRecursive = new JCheckBox(SSRBundle.message("recursive.matching.checkbox"), true);
|
||||
myRecursive.setVisible(!myReplace);
|
||||
myRecursive.addActionListener(e -> initiateValidation());
|
||||
myMatchCase = new JCheckBox(FindBundle.message("find.popup.case.sensitive"), true);
|
||||
myMatchCase.addActionListener(e -> initiateValidation());
|
||||
myFileType = UIUtil.detectFileType(mySearchContext);
|
||||
myDialect = myFileType.getLanguage();
|
||||
final StructuralSearchProfile profile = StructuralSearchUtil.getProfileByFileType(myFileType);
|
||||
|
||||
Reference in New Issue
Block a user