change signature: wording (IDEA-83401)

This commit is contained in:
Anna.Kozlova
2018-12-28 19:08:44 +01:00
parent 0560029032
commit 73ad71dc70
2 changed files with 3 additions and 5 deletions
@@ -2,7 +2,7 @@
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.intellij.refactoring.changeSignature.DefaultValueChooser">
<grid id="27dc6" binding="myWholePanel" layout-manager="GridBagLayout">
<constraints>
<xy x="258" y="615" width="592" height="231"/>
<xy x="258" y="615" width="778" height="231"/>
</constraints>
<properties/>
<border type="none"/>
@@ -35,7 +35,7 @@
<gridbag top="0" left="20" bottom="0" right="0" weightx="0.0" weighty="0.0"/>
</constraints>
<properties>
<text value="In the method call place the new parameter value would be left blank"/>
<text value="In all calls to this method leave the parameter blank"/>
</properties>
</component>
<component id="433d4" class="javax.swing.JRadioButton" binding="myFeelLuckyRadioButton" default-binding="true">
@@ -56,9 +56,7 @@ public class DefaultValueChooser extends DialogWrapper{
setTitle("Default value for parameter \"" + name + "\" needed");
myLeaveBlankRadioButton.setSelected(true);
myValueEditor.setEnabled(false);
myFeelLuckyDescription.setText("Variables of the same type would be searched in the method call place.\n" +
"When exactly one variable is found, it would be used.\n" +
"Otherwise parameter place would be left blank.");
myFeelLuckyDescription.setText("In calls to this method, if exactly one variable of the correct type is found, use it. Otherwise leave blank.");
myFeelLuckyDescription.setUI(new MultiLineLabelUI());
myBlankDescription.setUI(new MultiLineLabelUI());
myValueEditor.setText(defaultValue);