1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-09-03 14:30:01 +00:00

Merge pull request #3882 from briangsweeney/3910-match-counts

some ui tweaks
This commit is contained in:
Richard Cordovano
2018-06-21 11:20:42 -04:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ public class CommonFilesSearchResultsViewerTable extends DataResultViewerTable {
static {
Map<String, Integer> map = new HashMap<>();
map.put(Bundle.CommonFilesSearchResultsViewerTable_matchColLbl(), 220);
map.put(Bundle.CommonFilesSearchResultsViewerTable_matchColLbl(), 235);
map.put(Bundle.CommonFilesSearchResultsViewerTable_pathColLbl(), 300);
map.put(Bundle.CommonFilesSearchResultsViewerTable_dataSourceColLbl(), 200);
map.put(Bundle.CommonFilesSearchResultsViewerTable_hashsetHitsColLbl(), 100);

View File

@@ -47,13 +47,16 @@ final public class InstanceCountNode extends DisplayableItemNode {
* @param instanceCount
* @param md5Metadata
*/
@NbBundle.Messages({
"InstanceCountNode.displayName=Match with %s instances"
})
public InstanceCountNode(int instanceCount, List<Md5Metadata> md5Metadata) {
super(Children.create(new Md5NodeFactory(md5Metadata), true));
this.instanceCount = instanceCount;
this.metadataList = md5Metadata;
this.setDisplayName(Integer.toString(instanceCount));
this.setDisplayName(String.format(Bundle.InstanceCountNode_displayName(), Integer.toString(instanceCount)));
}
/**