mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
localize "Preferences | Build, Execution, Deployment | Debugger | Async Stack Traces" configurable
GitOrigin-RevId: 0893957cdcd33e1b576d0a7ee8d8247d3fe2f33e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3aaabfce59
commit
6c0959f87d
@@ -272,7 +272,9 @@ public class CaptureConfigurable implements SearchableConfigurable, NoScroll {
|
|||||||
|
|
||||||
myConfigureAnnotationsButton.addActionListener(e -> new AsyncAnnotationsDialog(myProject).show());
|
myConfigureAnnotationsButton.addActionListener(e -> new AsyncAnnotationsDialog(myProject).show());
|
||||||
|
|
||||||
myCapturePanel.setBorder(IdeBorderFactory.createTitledBorder("Breakpoints based:", false, JBUI.insetsTop(8)).setShowLine(false));
|
myCapturePanel.setBorder(
|
||||||
|
IdeBorderFactory.createTitledBorder(DebuggerBundle.message("settings.breakpoints.based"), false, JBUI.insetsTop(8))
|
||||||
|
.setShowLine(false));
|
||||||
myCapturePanel.add(decorator.createPanel(), BorderLayout.CENTER);
|
myCapturePanel.add(decorator.createPanel(), BorderLayout.CENTER);
|
||||||
|
|
||||||
return myPanel;
|
return myPanel;
|
||||||
@@ -291,8 +293,19 @@ public class CaptureConfigurable implements SearchableConfigurable, NoScroll {
|
|||||||
public static final int INSERT_METHOD_COLUMN = 5;
|
public static final int INSERT_METHOD_COLUMN = 5;
|
||||||
public static final int INSERT_KEY_EXPR = 6;
|
public static final int INSERT_KEY_EXPR = 6;
|
||||||
|
|
||||||
static final String[] COLUMN_NAMES =
|
static final String[] COLUMN_NAMES = getColumns();
|
||||||
new String[]{"", "Capture class name", "Capture method name", "Capture key expression", "Insert class name", "Insert method name", "Insert key expression"};
|
|
||||||
|
@NotNull
|
||||||
|
private static String[] getColumns() {
|
||||||
|
return new String[]{"",
|
||||||
|
DebuggerBundle.message("settings.capture.column.capture.class.name"),
|
||||||
|
DebuggerBundle.message("settings.capture.column.capture.method.name"),
|
||||||
|
DebuggerBundle.message("settings.capture.column.capture.key.expression"),
|
||||||
|
DebuggerBundle.message("settings.capture.column.insert.class.name"),
|
||||||
|
DebuggerBundle.message("settings.capture.column.insert.method.name"),
|
||||||
|
DebuggerBundle.message("settings.capture.column.insert.key.expression")};
|
||||||
|
}
|
||||||
|
|
||||||
List<CapturePoint> myCapturePoints;
|
List<CapturePoint> myCapturePoints;
|
||||||
|
|
||||||
private MyTableModel() {
|
private MyTableModel() {
|
||||||
@@ -564,19 +577,19 @@ public class CaptureConfigurable implements SearchableConfigurable, NoScroll {
|
|||||||
super(project, true);
|
super(project, true);
|
||||||
mySettings = DebuggerProjectSettings.getInstance(myProject);
|
mySettings = DebuggerProjectSettings.getInstance(myProject);
|
||||||
myAsyncSchedulePanel = new AnnotationsPanel(project,
|
myAsyncSchedulePanel = new AnnotationsPanel(project,
|
||||||
"Async Schedule",
|
DebuggerBundle.message("settings.async.schedule"),
|
||||||
"",
|
"",
|
||||||
getAsyncAnnotations(mySettings, true),
|
getAsyncAnnotations(mySettings, true),
|
||||||
Collections.singletonList(getAnnotationName(true)),
|
Collections.singletonList(getAnnotationName(true)),
|
||||||
Collections.emptySet(), false, false);
|
Collections.emptySet(), false, false);
|
||||||
myAsyncExecutePanel = new AnnotationsPanel(project,
|
myAsyncExecutePanel = new AnnotationsPanel(project,
|
||||||
"Async Execute",
|
DebuggerBundle.message("settings.async.execute"),
|
||||||
"",
|
"",
|
||||||
getAsyncAnnotations(mySettings, false),
|
getAsyncAnnotations(mySettings, false),
|
||||||
Collections.singletonList(getAnnotationName(false)),
|
Collections.singletonList(getAnnotationName(false)),
|
||||||
Collections.emptySet(), false, false);
|
Collections.emptySet(), false, false);
|
||||||
init();
|
init();
|
||||||
setTitle("Async Annotations Configuration");
|
setTitle(DebuggerBundle.message("settings.async.annotations.configuration"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -515,3 +515,13 @@ label.threads.view.configurable.show.prams.types=Show method arguments types
|
|||||||
breakpoint.properties.panel.option.catch.class.filters=Catc&h class filters:
|
breakpoint.properties.panel.option.catch.class.filters=Catc&h class filters:
|
||||||
breakpoint.properties.panel.option.caller.filter=Calle&r filters:
|
breakpoint.properties.panel.option.caller.filter=Calle&r filters:
|
||||||
caller.filters.dialog.title=Caller Filters
|
caller.filters.dialog.title=Caller Filters
|
||||||
|
settings.breakpoints.based=Breakpoints based:
|
||||||
|
settings.capture.column.capture.class.name=Capture class name
|
||||||
|
settings.capture.column.capture.method.name=Capture method name
|
||||||
|
settings.capture.column.capture.key.expression=Capture key expression
|
||||||
|
settings.capture.column.insert.class.name=Insert class name
|
||||||
|
settings.capture.column.insert.method.name=Insert method name
|
||||||
|
settings.capture.column.insert.key.expression=Insert key expression
|
||||||
|
settings.async.schedule=Async Schedule
|
||||||
|
settings.async.execute=Async Execute
|
||||||
|
settings.async.annotations.configuration=Async Annotations Configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user