From 99e1658136fd57ddf7fcdfea080620c5286c1434 Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Wed, 14 Oct 2020 09:57:00 +0700 Subject: [PATCH] [lang] Dataflow to/from here: icon for toolwindows; i18n GitOrigin-RevId: 728fbbfb31557a0e58742412f1c047f409215605 --- .../lang-api/resources/messages/LangBundle.properties | 2 ++ .../lang-impl/src/com/intellij/slicer/SliceManager.java | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/platform/lang-api/resources/messages/LangBundle.properties b/platform/lang-api/resources/messages/LangBundle.properties index cc21ad36d715..a305886e8310 100644 --- a/platform/lang-api/resources/messages/LangBundle.properties +++ b/platform/lang-api/resources/messages/LangBundle.properties @@ -330,6 +330,8 @@ todo.comment.problem.descriptor=TODO comment #ref #loc long.line.display.name=Line is longer than allowed by code style tab.title.analyze.dataflow.to.here=Analyze Dataflow to {0} tab.title.analyze.dataflow.from=Analyze Dataflow from {0} +toolwindow.name.dataflow.to.here=Analyze Dataflow To +toolwindow.name.dataflow.from.here=Analyze Dataflow From tab.title.grouped.by.value=\ (Grouped by Value) this.class.scope.name=This Class popup.title.choose.target=Choose Target diff --git a/platform/lang-impl/src/com/intellij/slicer/SliceManager.java b/platform/lang-impl/src/com/intellij/slicer/SliceManager.java index af58f4cc4ecf..75720fc025db 100644 --- a/platform/lang-impl/src/com/intellij/slicer/SliceManager.java +++ b/platform/lang-impl/src/com/intellij/slicer/SliceManager.java @@ -3,6 +3,7 @@ package com.intellij.slicer; import com.intellij.BundleBase; import com.intellij.analysis.AnalysisUIOptions; +import com.intellij.icons.AllIcons; import com.intellij.ide.impl.ContentManagerWatcher; import com.intellij.lang.LangBundle; import com.intellij.openapi.components.PersistentStateComponent; @@ -12,6 +13,7 @@ import com.intellij.openapi.components.StoragePathMacros; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.NlsContexts; import com.intellij.openapi.util.text.StringUtil; +import com.intellij.openapi.wm.RegisterToolWindowTask; import com.intellij.openapi.wm.ToolWindow; import com.intellij.openapi.wm.ToolWindowAnchor; import com.intellij.openapi.wm.ToolWindowManager; @@ -52,7 +54,8 @@ public final class SliceManager implements PersistentStateComponent