mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
extract dialog: generate annotations mnemonic
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user