提交 2dcb7750 编写于 作者: N Nikolay Krasko

KT-1401 Introduce Variable: "Add type annotation" checkbox naming

上级 cf73c1f3
...@@ -66,7 +66,7 @@ public class JetInplaceVariableIntroducer extends InplaceVariableIntroducer<JetE ...@@ -66,7 +66,7 @@ public class JetInplaceVariableIntroducer extends InplaceVariableIntroducer<JetE
@Nullable @Nullable
protected JComponent getComponent() { protected JComponent getComponent() {
if (!myDoNotChangeVar) { if (!myDoNotChangeVar) {
myVarCheckbox = new NonFocusableCheckBox("Declare variable"); myVarCheckbox = new NonFocusableCheckBox("Declare with var");
myVarCheckbox.setSelected(isVar); myVarCheckbox.setSelected(isVar);
myVarCheckbox.setMnemonic('v'); myVarCheckbox.setMnemonic('v');
myVarCheckbox.addActionListener(new ActionListener() { myVarCheckbox.addActionListener(new ActionListener() {
...@@ -85,7 +85,7 @@ public class JetInplaceVariableIntroducer extends InplaceVariableIntroducer<JetE ...@@ -85,7 +85,7 @@ public class JetInplaceVariableIntroducer extends InplaceVariableIntroducer<JetE
} }
if (myExprType != null) { if (myExprType != null) {
myExprTypeCheckbox = new NonFocusableCheckBox("Add type annotation"); myExprTypeCheckbox = new NonFocusableCheckBox("Specify type explicitly");
myExprTypeCheckbox.setSelected(false); myExprTypeCheckbox.setSelected(false);
myExprTypeCheckbox.setMnemonic('t'); myExprTypeCheckbox.setMnemonic('t');
myExprTypeCheckbox.addActionListener(new ActionListener() { myExprTypeCheckbox.addActionListener(new ActionListener() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册