19 package org.sleuthkit.autopsy.timeline.explorernodes;
21 import java.util.Collection;
22 import java.util.List;
23 import java.util.logging.Level;
24 import org.openide.nodes.AbstractNode;
25 import org.openide.nodes.ChildFactory;
26 import org.openide.nodes.Children;
27 import org.openide.nodes.Node;
28 import org.openide.util.NbBundle;
29 import org.openide.util.lookup.Lookups;
51 super(Children.create(
new EventNodeChildFactory(fileIds, filteredEvents),
true), Lookups.singleton(fileIds));
54 super.setDisplayName(NAME);
56 childCount = fileIds.size();
97 this.eventIDs = fileIds;
104 toPopulate.addAll(eventIDs);
119 return new EventNode(eventById, file);
123 return new EventNode(eventById, file, blackboardArtifact);
126 LOGGER.log(Level.WARNING,
"Failed to lookup sleuthkit object backing TimeLineEvent.");
130 }
catch (TskCoreException tskCoreException) {
131 LOGGER.log(Level.WARNING,
"Failed to lookup sleuthkit object backing TimeLineEvent.", tskCoreException);
143 super(Children.LEAF);
144 this.setIconBaseWithExtension(
"org/sleuthkit/autopsy/images/info-icon-16.png");
146 NbBundle.getMessage(
this.getClass(),
147 "EventRoodNode.tooManyNode.displayName",
static final Logger LOGGER
boolean createKeys(List< Long > toPopulate)
final FilteredEventsModel filteredEvents
final Collection< Long > eventIDs
static final int MAX_EVENTS_TO_DISPLAY
Node createNodeForKey(Long eventID)
EventRootNode(String NAME, Collection< Long > fileIds, FilteredEventsModel filteredEvents)
SleuthkitCase getSleuthkitCase()
static Case getCurrentCase()
synchronized static Logger getLogger(String name)
TimeLineEvent getEventById(Long eventID)