19 package org.sleuthkit.autopsy.timeline;
21 import java.beans.PropertyChangeEvent;
22 import java.beans.PropertyChangeListener;
23 import java.util.logging.Level;
24 import javafx.application.Platform;
25 import javax.swing.SwingUtilities;
63 if (controller == null) {
74 static void onStart() {
75 Platform.setImplicitExit(
false);
76 logger.info(
"Setting up TimeLine listeners");
89 if (
Case.
Events.valueOf(evt.getPropertyName()).equals(CURRENT_CASE)) {
90 if (evt.getNewValue() == null) {
97 if (controller != null) {
98 controller.shutDownTimeLineListeners();
99 SwingUtilities.invokeLater(controller::shutDownTimeLineGui);
108 }
catch (TskCoreException ex) {
109 logger.log(Level.SEVERE,
"Error handling application event", ex);
127 }
catch (TskCoreException ex) {
129 logger.log(Level.SEVERE,
"Error creating timeline controller", ex);
static synchronized IngestManager getInstance()
void propertyChange(PropertyChangeEvent evt)
static final Object controllerLock
static volatile TimeLineController controller
void propertyChange(PropertyChangeEvent evt)
static void addPropertyChangeListener(PropertyChangeListener listener)
void addIngestModuleEventListener(final PropertyChangeListener listener)
synchronized static Logger getLogger(String name)
static Case getCurrentCaseThrows()
static TimeLineController getController()
static final Logger logger
static void error(String message)