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) {
64 throw new TskCoreException(
"Timeline controller not initialized");
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);
109 logger.log(Level.SEVERE,
"Error creating Timeline controller", ex);
116 }
catch (TskCoreException ex) {
133 }
catch (TskCoreException 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