Added Comment properties to tag nodes

This commit is contained in:
Richard Cordovano 2013-10-18 15:12:01 -04:00
parent 98913f22ee
commit d4ac9b3bd4
2 changed files with 6 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}