mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Added Comment properties to tag nodes
This commit is contained in:
parent
98913f22ee
commit
d4ac9b3bd4
@ -69,6 +69,7 @@ public class BlackboardArtifactTagNode extends DisplayableItemNode {
|
|||||||
}
|
}
|
||||||
properties.put(new NodeProperty("Source File Path", "Source File Path", "", contentPath));
|
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("Result Type", "Result Type", "", tag.getArtifact().getDisplayName()));
|
||||||
|
properties.put(new NodeProperty("Comment", "Comment", "", tag.getComment()));
|
||||||
|
|
||||||
return propertySheet;
|
return propertySheet;
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ public class ContentTagNode extends DisplayableItemNode {
|
|||||||
propertySheet.put(properties);
|
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;
|
String contentPath;
|
||||||
try {
|
try {
|
||||||
contentPath = tag.getContent().getUniquePath();
|
contentPath = tag.getContent().getUniquePath();
|
||||||
@ -67,7 +67,8 @@ public class ContentTagNode extends DisplayableItemNode {
|
|||||||
Logger.getLogger(ContentTagNode.class.getName()).log(Level.SEVERE, "Failed to get path for content (id = " + tag.getContent().getId() + ")", ex);
|
Logger.getLogger(ContentTagNode.class.getName()).log(Level.SEVERE, "Failed to get path for content (id = " + tag.getContent().getId() + ")", ex);
|
||||||
contentPath = "Unavailable";
|
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;
|
return propertySheet;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user