mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-92190 Run/Debug configurations: 'Single instance' checkbox does nothing
This commit is contained in:
@@ -282,7 +282,14 @@ public class ExecutionManagerImpl extends ExecutionManager implements ProjectCom
|
||||
return CommonBundle.message("dialog.options.do.not.show");
|
||||
}
|
||||
};
|
||||
if (Messages.OK != Messages.showOkCancelDialog(ExecutionBundle.message("rerun.confirmation.message", configuration.getName()),
|
||||
String message;
|
||||
if (allHandlers.size() == 1 && handler != null) {//we restart single running configuration
|
||||
message = ExecutionBundle.message("rerun.confirmation.message", configuration.getName());
|
||||
}
|
||||
else {
|
||||
message = ExecutionBundle.message("rerun.singleton.confirmation.message", configuration.getName());
|
||||
}
|
||||
if (Messages.OK != Messages.showOkCancelDialog(message,
|
||||
ExecutionBundle.message("rerun.confirmation.title") +
|
||||
" (" +
|
||||
pair.getSecond().getId() +
|
||||
|
||||
@@ -160,7 +160,8 @@ terminating.process.progress.kill=Kill process
|
||||
waiting.for.vm.detach.progress.text=Waiting for process detach
|
||||
restart.error.message.title=Restart Error
|
||||
rerun.configuration.action.name=Rerun ''{0}''
|
||||
rerun.confirmation.message=''{0}'' is single-instance run configuration.\nAre you sure you want to stop running one?
|
||||
rerun.singleton.confirmation.message=''{0}'' is single-instance run configuration.\nAre you sure you want to stop running one?
|
||||
rerun.confirmation.message=Are you sure you want to stop ''{0}''?
|
||||
rerun.confirmation.title=Stop Confirmation
|
||||
rerun.confirmation.checkbox=Confirm rerun with process termination
|
||||
run.configuration.dump.threads.action.name=Dump Threads
|
||||
|
||||
Reference in New Issue
Block a user