mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
add default file actions to FileWithCCNNode
This commit is contained in:
parent
b09b9d6d25
commit
2fea2047b1
@ -907,7 +907,11 @@ public class Accounts extends Observable implements AutopsyVisitableItem {
|
||||
Action[] actions = super.getActions(context);
|
||||
ArrayList<Action> arrayList = new ArrayList<>();
|
||||
arrayList.addAll(Arrays.asList(actions));
|
||||
|
||||
try {
|
||||
arrayList.addAll(DataModelActionsFactory.getActions(Accounts.this.skCase.getContentById(fileKey.getObjID()), false));
|
||||
} catch (TskCoreException ex) {
|
||||
LOGGER.log(Level.SEVERE, "Error gettung content by id", ex);
|
||||
}
|
||||
arrayList.add(new ApproveAccounts(getLookup().lookupAll(BlackboardArtifact.class)));
|
||||
arrayList.add(new RejectAccounts(getLookup().lookupAll(BlackboardArtifact.class)));
|
||||
return arrayList.toArray(new Action[arrayList.size()]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user