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) {
51 super(NbBundle.getMessage(
ExtractAction.class,
"ExtractAction.title.extractFiles.text"));
62 Lookup lookup = Utilities.actionsGlobalContext();
63 Collection<? extends AbstractFile> selectedFiles =lookup.lookupAll(AbstractFile.class);
65 extractor.
extract(e, selectedFiles);