mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 14:37:45 +07:00
Changed popup title of InheritorChooser in accordance with doc in UX-487
This commit is contained in:
committed by
Sergei Vorobyov
parent
61932662fe
commit
f4652fe1de
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.intellij.execution.junit;
|
||||
|
||||
import com.intellij.execution.ExecutionBundle;
|
||||
import com.intellij.execution.Location;
|
||||
import com.intellij.execution.actions.ConfigurationContext;
|
||||
import com.intellij.execution.junit2.PsiMemberParameterizedLocation;
|
||||
@@ -125,10 +126,11 @@ public class InheritorChooser {
|
||||
|
||||
//suggest to run all inherited tests
|
||||
classes.add(0, null);
|
||||
String locationName = psiMethod != null ? psiMethod.getName() : containingClass.getName();
|
||||
JBPopupFactory.getInstance()
|
||||
.createPopupChooserBuilder(classes)
|
||||
.setRenderer(renderer)
|
||||
.setTitle("Choose executable classes to run " + (psiMethod != null ? psiMethod.getName() : containingClass.getName()))
|
||||
.setTitle(ExecutionBundle.message("test.cases.choosing.popup.title", locationName))
|
||||
.setMovable(false)
|
||||
.setResizable(false)
|
||||
.setRequestFocus(true)
|
||||
|
||||
@@ -429,3 +429,4 @@ tests.tasks.choosing.popup.title.common=Run Tasks
|
||||
tests.tasks.choosing.popup.title=Run Tasks for {0}
|
||||
tests.tasks.choosing.popup.hint=Select several tasks to run them at once
|
||||
tests.tasks.choosing.warning.text=No test tasks available
|
||||
test.cases.choosing.popup.title=Run Implementations of {0}
|
||||
|
||||
Reference in New Issue
Block a user