extract dialog: generate annotations mnemonic

This commit is contained in:
Anna Kozlova
2014-12-09 17:06:18 +01:00
parent f8fc14fcb0
commit 701a880f64
2 changed files with 2 additions and 1 deletions
@@ -355,7 +355,7 @@ public class ExtractMethodDialog extends DialogWrapper implements AbstractExtrac
if (myNullness != null && myNullness != Nullness.UNKNOWN) {
final boolean isSelected = PropertiesComponent.getInstance(myProject).getBoolean(EXTRACT_METHOD_GENERATE_ANNOTATIONS, true);
myGenerateAnnotations = new JCheckBox("Generate annotations", isSelected);
myGenerateAnnotations = new JCheckBox(RefactoringBundle.message("declare.generated.annotations"), isSelected);
myGenerateAnnotations.addItemListener(new ItemListener() {
@Override
public void itemStateChanged(ItemEvent e) {
@@ -397,6 +397,7 @@ introduce.constant.field.of.type=Constant (static final field) of &type:
extract.subclass.command=Extract Subclass
extract.superclass.elements.header=Extract superclass with members to directory
declare.static.checkbox=Declare &static
declare.generated.annotations=&Generate annotations
declare.static.pass.fields.checkbox=Declare &static (pass fields as params)
declare.varargs.checkbox=Declare v&arargs
declare.folded.parameters=&Fold parameters