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;
55 if (file.getType().equals(TskData.TSK_DB_FILES_TYPE_ENUM.SLACK)
56 || file.getType().equals(TskData.TSK_DB_FILES_TYPE_ENUM.UNALLOC_BLOCKS)
57 || (file.getCrtime() <= 0
58 && file.getCtime() <= 0
59 && file.getMtime() <= 0
60 && file.getAtime() <= 0)) {
61 this.setEnabled(
false);
69 @NbBundle.Messages({
"ViewFileInTimelineAction.viewFile.displayName=View File in Timeline... "})
74 @NbBundle.Messages({
"ViewFileInTimelineAction.viewSourceFile.displayName=View Source File in Timeline... "})
83 }
catch (TskCoreException ex) {
85 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