Move: Specify file name in command description

This commit is contained in:
Alexey Sedunov
2015-06-19 17:33:38 +03:00
parent 6376420970
commit 0e9bcee0bc
@@ -561,6 +561,11 @@ public class MoveKotlinTopLevelDeclarationsDialog extends RefactoringDialog {
}, },
EmptyRunnable.INSTANCE EmptyRunnable.INSTANCE
) { ) {
@Override
protected String getCommandName() {
return "Move " + sourceFile.getName();
}
@Override @Override
protected void performRefactoring(UsageInfo[] usages) { protected void performRefactoring(UsageInfo[] usages) {
//noinspection ConstantConditions //noinspection ConstantConditions