From d4ac9b3bd4f29443d148efb0a27a9f2ca7b5ee10 Mon Sep 17 00:00:00 2001 From: Richard Cordovano Date: Fri, 18 Oct 2013 15:12:01 -0400 Subject: [PATCH] Added Comment properties to tag nodes --- .../autopsy/datamodel/BlackboardArtifactTagNode.java | 3 ++- .../org/sleuthkit/autopsy/datamodel/ContentTagNode.java | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/BlackboardArtifactTagNode.java b/Core/src/org/sleuthkit/autopsy/datamodel/BlackboardArtifactTagNode.java index e4e61680b3..8cab0fed87 100755 --- a/Core/src/org/sleuthkit/autopsy/datamodel/BlackboardArtifactTagNode.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/BlackboardArtifactTagNode.java @@ -69,7 +69,8 @@ public class BlackboardArtifactTagNode extends DisplayableItemNode { } properties.put(new NodeProperty("Source File Path", "Source File Path", "", contentPath)); properties.put(new NodeProperty("Result Type", "Result Type", "", tag.getArtifact().getDisplayName())); - + properties.put(new NodeProperty("Comment", "Comment", "", tag.getComment())); + return propertySheet; } diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/ContentTagNode.java b/Core/src/org/sleuthkit/autopsy/datamodel/ContentTagNode.java index b2e5c1d08e..a7c1b487e1 100755 --- a/Core/src/org/sleuthkit/autopsy/datamodel/ContentTagNode.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/ContentTagNode.java @@ -58,7 +58,7 @@ public class ContentTagNode extends DisplayableItemNode { propertySheet.put(properties); } - properties.put(new NodeProperty("Source File", "Source File", "", tag.getContent().getName())); + properties.put(new NodeProperty("File", "File", "", tag.getContent().getName())); String contentPath; try { contentPath = tag.getContent().getUniquePath(); @@ -67,8 +67,9 @@ public class ContentTagNode extends DisplayableItemNode { Logger.getLogger(ContentTagNode.class.getName()).log(Level.SEVERE, "Failed to get path for content (id = " + tag.getContent().getId() + ")", ex); contentPath = "Unavailable"; } - properties.put(new NodeProperty("Source File Path", "Source File Path", "", contentPath)); - + properties.put(new NodeProperty("File Path", "File Path", "", contentPath)); + properties.put(new NodeProperty("Comment", "Comment", "", tag.getComment())); + return propertySheet; }