19 package org.sleuthkit.autopsy.timeline.actions;
21 import java.awt.event.ActionEvent;
22 import javax.swing.AbstractAction;
23 import org.openide.util.NbBundle;
24 import org.openide.util.actions.SystemAction;
37 private final AbstractFile
file;
43 if (file.getType().equals(TskData.TSK_DB_FILES_TYPE_ENUM.SLACK)
44 || file.getType().equals(TskData.TSK_DB_FILES_TYPE_ENUM.UNALLOC_BLOCKS)
45 || (file.getCrtime() <= 0
46 && file.getCtime() <= 0
47 && file.getMtime() <= 0
48 && file.getAtime() <= 0)) {
49 this.setEnabled(
false);
53 @NbBundle.Messages({
"ViewFileInTimelineAction.viewFile.displayName=View File in Timeline... "})
58 @NbBundle.Messages({
"ViewFileInTimelineAction.viewSourceFile.displayName=View Source File in Timeline... "})
static final long serialVersionUID
static ViewFileInTimelineAction createViewSourceFileAction(AbstractFile file)
ViewFileInTimelineAction(AbstractFile file, String displayName)
static ViewFileInTimelineAction createViewFileAction(AbstractFile file)
void actionPerformed(ActionEvent e)