mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 19:14:55 +00:00
get content and not just abstractfiles
This commit is contained in:
parent
a500ef01e6
commit
ae9c821e4d
@ -121,7 +121,7 @@ public class EventNode extends DisplayableItemNode {
|
|||||||
List<Action> actionsList = new ArrayList<>();
|
List<Action> actionsList = new ArrayList<>();
|
||||||
actionsList.addAll(Arrays.asList(superActions));
|
actionsList.addAll(Arrays.asList(superActions));
|
||||||
|
|
||||||
final AbstractFile sourceFile = getLookup().lookup(AbstractFile.class);
|
final Content sourceFile = getLookup().lookup(Content.class);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* if this event is derived from an artifact, add actions to view the
|
* if this event is derived from an artifact, add actions to view the
|
||||||
@ -141,7 +141,9 @@ public class EventNode extends DisplayableItemNode {
|
|||||||
|
|
||||||
//if this event has associated content, add the action to view the content in the timeline
|
//if this event has associated content, add the action to view the content in the timeline
|
||||||
if (null != sourceFile) {
|
if (null != sourceFile) {
|
||||||
actionsList.add(ViewFileInTimelineAction.createViewSourceFileAction(sourceFile));
|
if (sourceFile instanceof AbstractFile) {
|
||||||
|
actionsList.add(ViewFileInTimelineAction.createViewSourceFileAction((AbstractFile) sourceFile));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user