19 package org.sleuthkit.autopsy.timeline.actions;
21 import java.awt.event.ActionEvent;
23 import java.util.stream.Collectors;
24 import javax.swing.AbstractAction;
25 import org.openide.util.NbBundle;
26 import org.openide.util.actions.SystemAction;
44 .map(ArtifactEventType.class::cast)
45 .collect(Collectors.toSet());
49 @NbBundle.Messages({
"ViewArtifactInTimelineAction.displayName=View Result in Timeline... "})
51 super(Bundle.ViewArtifactInTimelineAction_displayName());
70 for (ArtifactEventType artEventType : ARTIFACT_EVENT_TYPES) {
71 if (artEventType.getArtifactTypeID() == artifact.getArtifactTypeID()) {
73 BlackboardAttribute attribute = artifact.getAttribute(artEventType.getDateTimeAttributeType());
74 if (null != attribute && attribute.getValueLong() > 0) {
static final long serialVersionUID
static boolean hasSupportedTimeStamp(BlackboardArtifact artifact)
ViewArtifactInTimelineAction(BlackboardArtifact artifact)
final BlackboardArtifact artifact
static final List<?extends EventType > allTypes
static final Set< ArtifactEventType > ARTIFACT_EVENT_TYPES
void actionPerformed(ActionEvent e)