19 package org.sleuthkit.autopsy.directorytree;
21 import java.util.ArrayList;
22 import java.util.Collections;
23 import java.util.List;
24 import javax.swing.AbstractAction;
25 import javax.swing.Action;
26 import org.openide.util.NbBundle;
44 List<Action> actions =
new ArrayList<>();
46 actions.addAll(c.accept(instance));
65 public List<? extends Action>
visit(
final Image img) {
66 List<Action> lst =
new ArrayList<>();
68 lst.add(
new ExtractUnallocAction(
69 NbBundle.getMessage(
this.getClass(),
"ExplorerNodeActionVisitor.action.extUnallocToSingleFiles"), img));
74 public List<? extends Action>
visit(
final FileSystem fs) {
75 return new ArrayList<>();
79 public List<? extends Action>
visit(
final Volume vol) {
80 List<AbstractAction> lst =
new ArrayList<>();
81 lst.add(
new ExtractUnallocAction(
82 NbBundle.getMessage(
this.getClass(),
"ExplorerNodeActionVisitor.action.extUnallocToSingleFile"), vol));
87 public List<? extends Action>
visit(
final Directory d) {
88 List<Action> actions =
new ArrayList<>();
95 public List<? extends Action>
visit(
final VirtualDirectory d) {
96 List<Action> actions =
new ArrayList<>();
97 if (!d.isDataSource()) {
106 public List<? extends Action>
visit(
final DerivedFile d) {
107 List<Action> actions =
new ArrayList<>();
115 public List<? extends Action>
visit(
final LocalFile d) {
116 List<Action> actions =
new ArrayList<>();
125 List<Action> actions =
new ArrayList<>();
134 return Collections.<Action>emptyList();
List<?extends Action > visit(final LocalFile d)
List<?extends Action > visit(final FileSystem fs)
List<?extends Action > visit(final Volume vol)
List<?extends Action > visit(final VirtualDirectory d)
List<?extends Action > visit(final Directory d)
static List< Action > getActions(Content c)
static ExplorerNodeActionVisitor instance
List<?extends Action > visit(final DerivedFile d)
List<?extends Action > visit(final org.sleuthkit.datamodel.File d)
List<?extends Action > visit(final Image img)
static synchronized AddContentTagAction getInstance()
List<?extends Action > defaultVisit(Content di)