SSR: text filter label should be "text"

This commit is contained in:
Bas Leijdekkers
2018-09-03 17:09:21 +03:00
parent 598574681b
commit 35c60f3f1a
@@ -62,7 +62,7 @@ public class TextFilter extends FilterAction {
private final EditorTextField myTextField = UIUtil.createRegexComponent("", myTable.getProject());
private final JCheckBox myWordsCheckBox = new JCheckBox("Words", false);
private final JCheckBox myHierarchyCheckBox = new JCheckBox("Within type hierarchy", false);
private final JLabel myNameLabel = new JLabel("name=");
private final JLabel myTextLabel = new JLabel("text=");
private final ContextHelpLabel myHelpLabel =
ContextHelpLabel.create("<p>Text of the match is checked against the provided pattern." +
"<p>Use \"!\" to invert the pattern." +
@@ -78,7 +78,7 @@ public class TextFilter extends FilterAction {
layout.createParallelGroup()
.addGroup(
layout.createSequentialGroup()
.addComponent(myNameLabel)
.addComponent(myTextLabel)
.addComponent(myTextField)
.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 1, 1)
.addComponent(myHelpLabel)
@@ -94,7 +94,7 @@ public class TextFilter extends FilterAction {
layout.createSequentialGroup()
.addGroup(
layout.createParallelGroup(GroupLayout.Alignment.CENTER)
.addComponent(myNameLabel)
.addComponent(myTextLabel)
.addComponent(myTextField)
.addComponent(myHelpLabel)
)