19 package org.sleuthkit.autopsy.timeline;
21 import java.io.IOException;
22 import java.util.logging.Level;
23 import org.openide.awt.ActionID;
24 import org.openide.awt.ActionReference;
25 import org.openide.awt.ActionReferences;
26 import org.openide.awt.ActionRegistration;
27 import org.openide.util.HelpCtx;
28 import org.openide.util.NbBundle;
29 import org.openide.util.actions.CallableSystemAction;
36 @ActionID(category =
"Tools",
id =
"org.sleuthkit.autopsy.timeline.Timeline")
37 @ActionRegistration(displayName =
"#CTL_MakeTimeline", lazy =
false)
38 @ActionReferences(value = {
39 @ActionReference(path =
"Menu/Tools", position = 100)})
48 synchronized static void invalidateController() {
49 timeLineController = null;
62 "OpenTimelineAction.settingsErrorMessage=Failed to initialize timeline settings.",
63 "OpenTimeLineAction.msgdlg.text=Could not create timeline, there are no data sources."})
65 @ThreadConfined(type = ThreadConfined.ThreadType.AWT)
69 if (currentCase.
hasData() ==
false) {
71 LOGGER.log(Level.INFO,
"Could not create timeline, there are no data sources.");
75 if (timeLineController == null) {
81 timeLineController.openTimeLine();
82 }
catch (IOException iOException) {
84 LOGGER.log(Level.SEVERE,
"Failed to initialize per case timeline settings.", iOException);
86 }
catch (IllegalStateException e) {
98 return HelpCtx.DEFAULT_HELP;
static boolean isJavaFxInited()
static Case getCurrentCase()
synchronized static Logger getLogger(String name)
static void info(String message)
static boolean isCaseOpen()
static void error(String message)