Add tool window icon
This commit is contained in:
parent
f370b405d2
commit
b0c28df3d7
@ -1,5 +1,6 @@
|
||||
package de.marhali.easyi18n;
|
||||
|
||||
import com.intellij.icons.AllIcons;
|
||||
import com.intellij.openapi.actionSystem.AnAction;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.wm.ToolWindow;
|
||||
@ -29,6 +30,8 @@ public class TranslatorToolWindowFactory implements ToolWindowFactory {
|
||||
public void createToolWindowContent(@NotNull Project project, @NotNull ToolWindow toolWindow) {
|
||||
ContentFactory contentFactory = ContentFactory.SERVICE.getInstance();
|
||||
|
||||
toolWindow.setIcon(AllIcons.Actions.InlayGlobe);
|
||||
|
||||
// Translations tree view
|
||||
TreeView treeView = new TreeView(project);
|
||||
Content treeContent = contentFactory.createContent(treeView.getRootPanel(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user