Skip to content
Snippets Groups Projects
Unverified Commit 7d59dff7 authored by Richard Cordovano's avatar Richard Cordovano Committed by GitHub
Browse files

Merge pull request #6602 from APriestman/yaraIcon

Added YARA icon for tree viewer
parents 491751f4 20e6c6ac
No related branches found
No related tags found
No related merge requests found
...@@ -125,6 +125,8 @@ public static String getIconFilePath(int typeID) { ...@@ -125,6 +125,8 @@ public static String getIconFilePath(int typeID) {
imageFile = "domain-16.png"; //NON-NLS imageFile = "domain-16.png"; //NON-NLS
} else if (typeID == ARTIFACT_TYPE.TSK_GPS_AREA.getTypeID()) { } else if (typeID == ARTIFACT_TYPE.TSK_GPS_AREA.getTypeID()) {
imageFile = "gps-area.png"; //NON-NLS imageFile = "gps-area.png"; //NON-NLS
} else if (typeID == ARTIFACT_TYPE.TSK_YARA_HIT.getTypeID()) {
imageFile = "yara_16.png"; //NON-NLS
} else { } else {
imageFile = "artifact-icon.png"; //NON-NLS imageFile = "artifact-icon.png"; //NON-NLS
} }
......
Core/src/org/sleuthkit/autopsy/images/yara_16.png

6.02 KiB

...@@ -390,6 +390,9 @@ private String useDataTypeIcon(String dataType) { ...@@ -390,6 +390,9 @@ private String useDataTypeIcon(String dataType) {
case TSK_WEB_CATEGORIZATION: case TSK_WEB_CATEGORIZATION:
in = getClass().getResourceAsStream("/org/sleuthkit/autopsy/images/domain-16.png"); //NON-NLS in = getClass().getResourceAsStream("/org/sleuthkit/autopsy/images/domain-16.png"); //NON-NLS
break; break;
case TSK_YARA_HIT:
in = getClass().getResourceAsStream("/org/sleuthkit/autopsy/images/yara_16.png"); //NON-NLS
break;
default: default:
logger.log(Level.WARNING, "useDataTypeIcon: unhandled artifact type = {0}", dataType); //NON-NLS logger.log(Level.WARNING, "useDataTypeIcon: unhandled artifact type = {0}", dataType); //NON-NLS
in = getClass().getResourceAsStream("/org/sleuthkit/autopsy/report/images/star.png"); //NON-NLS in = getClass().getResourceAsStream("/org/sleuthkit/autopsy/report/images/star.png"); //NON-NLS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment