19 package org.sleuthkit.autopsy.directorytree;
22 import java.awt.event.ActionEvent;
23 import java.util.Collection;
24 import javax.swing.AbstractAction;
25 import org.openide.util.NbBundle;
26 import org.openide.util.Utilities;
27 import org.openide.util.Lookup;
41 if (null == instance) {
53 super(NbBundle.getMessage(
ExtractAction.class,
"ExtractAction.title.extractFiles.text"));
64 Lookup lookup = Utilities.actionsGlobalContext();
65 Collection<? extends AbstractFile> selectedFiles =lookup.lookupAll(AbstractFile.class);
66 extractor.
extract(e, selectedFiles);