mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
unscramble i18n
GitOrigin-RevId: 3734c14fc94de9f058580706aa6b78554af1d9b1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f289103537
commit
752e4f7901
@@ -29,14 +29,8 @@ import org.jetbrains.annotations.NotNull;
|
||||
* @author Konstantin Bulenkov
|
||||
*/
|
||||
public final class UnscrambleAction extends AnAction implements DumbAware {
|
||||
|
||||
static {
|
||||
ApplicationManager.getApplication().getMessageBus().connect().subscribe(ApplicationActivationListener.TOPIC,
|
||||
new UnscrambleListener());
|
||||
}
|
||||
|
||||
public UnscrambleAction() {
|
||||
super("Analyze _Stack Trace or Thread Dump...", "Open console with the navigatable stack trace or a thread dump", null);
|
||||
ApplicationManager.getApplication().getMessageBus().connect().subscribe(ApplicationActivationListener.TOPIC, new UnscrambleListener());
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -45,7 +39,8 @@ public final class UnscrambleAction extends AnAction implements DumbAware {
|
||||
String message = e.getData(IdeErrorsDialog.CURRENT_TRACE_KEY);
|
||||
if (message != null) {
|
||||
AnalyzeStacktraceUtil.addConsole(project, null, "<Stacktrace>", message);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
new UnscrambleDialog(project).show();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user