19 package org.sleuthkit.autopsy.timeline;
21 import java.util.logging.Level;
22 import javax.swing.JOptionPane;
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;
30 import org.openide.windows.WindowManager;
35 @ActionID(category =
"Tools",
id =
"org.sleuthkit.autopsy.timeline.Timeline")
36 @ActionRegistration(displayName =
"#CTL_MakeTimeline", lazy =
false)
37 @ActionReferences(value = {
38 @ActionReference(path =
"Menu/Tools", position = 100)})
45 synchronized static void invalidateController() {
46 timeLineController = null;
71 if (currentCase.
hasData() ==
false) {
72 JOptionPane.showMessageDialog(WindowManager.getDefault().getMainWindow(),
73 NbBundle.getMessage(this.getClass(),
"OpenTimeLineAction.msgdlg.text"));
74 LOGGER.log(Level.INFO,
"Could not create timeline, there are no data sources.");
78 if (timeLineController == null) {
80 LOGGER.log(Level.WARNING,
"Failed to get TimeLineController from lookup. Instantiating one directly.S");
83 timeLineController.openTimeLine();
93 return HelpCtx.DEFAULT_HELP;
static boolean isJavaFxInited()
static boolean existsCurrentCase()
static Case getCurrentCase()
static boolean isCaseOpen()
static Logger getLogger(String name)