19 package org.sleuthkit.autopsy.modules.hashdatabase;
21 import java.util.ArrayList;
22 import java.util.Collection;
23 import java.util.List;
24 import javax.swing.Action;
25 import org.openide.util.Utilities;
26 import org.openide.util.lookup.ServiceProvider;
30 @ServiceProvider(service = ContextMenuActionsProvider.class)
35 ArrayList<Action> actions =
new ArrayList<>();
36 Collection<? extends AbstractFile> selectedFiles = Utilities.actionsGlobalContext().lookupAll(
AbstractFile.class);
37 if (!selectedFiles.isEmpty()) {
38 actions.add(AddContentToHashDbAction.getInstance());