19 package org.sleuthkit.autopsy.timeline.actions;
21 import java.awt.event.ActionEvent;
22 import java.util.logging.Level;
23 import javax.swing.AbstractAction;
24 import org.openide.util.NbBundle;
25 import org.openide.util.actions.SystemAction;
44 private final AbstractFile
file;
50 if (file.getType().equals(TskData.TSK_DB_FILES_TYPE_ENUM.SLACK)
51 || file.getType().equals(TskData.TSK_DB_FILES_TYPE_ENUM.UNALLOC_BLOCKS)
52 || (file.getCrtime() <= 0
53 && file.getCtime() <= 0
54 && file.getMtime() <= 0
55 && file.getAtime() <= 0)) {
56 this.setEnabled(
false);
64 @NbBundle.Messages({
"ViewFileInTimelineAction.viewFile.displayName=View File in Timeline... "})
69 @NbBundle.Messages({
"ViewFileInTimelineAction.viewSourceFile.displayName=View Source File in Timeline... "})
78 }
catch (TskCoreException ex) {
80 logger.log(Level.SEVERE,
"Error showing timeline.", ex);
static synchronized String getConfigSetting(String moduleName, String settingName)
static final long serialVersionUID
static ViewFileInTimelineAction createViewSourceFileAction(AbstractFile file)
ViewFileInTimelineAction(AbstractFile file, String displayName)
synchronized static Logger getLogger(String name)
static ViewFileInTimelineAction createViewFileAction(AbstractFile file)
void actionPerformed(ActionEvent e)
static void error(String message)
static final Logger logger