--- a/tool/src/GUI/TreeRenderer.java
+++ b/tool/src/GUI/TreeRenderer.java
@@ -1,21 +1,13 @@
/*
* SPDXVersion: SPDX-1.1
- *
* Creator: Person: Nuno Brito (nuno.brito@triplecheck.de)
- *
* Creator: Organization: TripleCheck (contact@triplecheck.de)
- *
* Created: 2013-09-17T00:00:00Z
- *
* LicenseName: NOASSERTION
- *
* FileName: TreeRenderer.java
- *
* FileType: SOURCE
- *
* FileCopyrightText: <text> Copyright 2013 Nuno Brito, TripleCheck </text>
- *
- * FileComment: <text> Adds the pretty icons on tree objects </text>
+ * FileComment: <text> Add the pretty icons on tree objects </text>
*/
package GUI;
@@ -45,7 +37,11 @@
sectionReview = get("geolocation.png"),
//dependency = get("envelope.png"),
file = get("document-number.png"),
- home = get("home.png");
+ home = get("home.png"),
+
+ folderClosed = get("folder-horizontal.png"),
+ folderOpen = get("folder-horizontal-open.png");
+
// medal-premium.png
@Override
@@ -68,6 +64,10 @@
break;
case file:
setIcon(file);
+ break;
+ case folder:
+ setIcon(folderClosed);
+ node.iconWhenSelected = get("folder-horizontal-open.png");
break;
case person:
setIcon(person);