Skip to content

Commit d352e75

Browse files
committed
feat: choose the right icon for root nodes in the treeview
1 parent e5a630a commit d352e75

2 files changed

Lines changed: 2 additions & 16 deletions

File tree

plugin/plugin.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -332,21 +332,6 @@
332332
</command>
333333
</menu>
334334
</menuContribution>
335-
<menuContribution
336-
locationURI="popup:io.snyk.eclipse.plugin.views.snyktoolview#PopupTreeMenu">
337-
<command
338-
commandId="io.snyk.eclipse.plugin.commands.TreeExpand"
339-
icon="platform:/plugin/org.eclipse.ui/icons/full/elcl16/expandall.png"
340-
style="push"
341-
tooltip="Expand Issue Tree">
342-
</command>
343-
<command
344-
commandId="io.snyk.eclipse.plugin.commands.TreeCollapse"
345-
icon="platform:/plugin/org.eclipse.ui/icons/full/elcl16/collapseall.png"
346-
style="push"
347-
tooltip="Collapse Issue Tree">
348-
</command>
349-
</menuContribution>
350335
</extension>
351336
<extension point="org.eclipse.ui.startup">
352337
<startup class="io.snyk.eclipse.plugin.SnykStartup" />

plugin/src/main/java/io/snyk/eclipse/plugin/views/snyktoolview/RootNode.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ public RootNode() {
1919
codeQualityRootNode = new ProductTreeNode(DISPLAYED_CODE_QUALITY);
2020
iacRootNode = new ProductTreeNode(DISPLAYED_IAC);
2121

22-
BaseTreeNode[] children = new BaseTreeNode[] { ossRootNode, codeSecurityRootNode, codeQualityRootNode, iacRootNode, };
22+
BaseTreeNode[] children = new BaseTreeNode[] { ossRootNode, codeSecurityRootNode, codeQualityRootNode,
23+
iacRootNode, };
2324
setChildren(children);
2425
}
2526
}

0 commit comments

Comments
 (0)