19 package org.sleuthkit.autopsy.datamodel;
21 import java.awt.event.ActionEvent;
22 import javax.swing.AbstractAction;
30 class ViewTaggedArtifactAction
extends AbstractAction {
32 private static final long serialVersionUID = 1L;
34 private final BlackboardArtifact artifact;
36 ViewTaggedArtifactAction(String title,
final BlackboardArtifact artifact) {
38 this.artifact = artifact;
42 public void actionPerformed(ActionEvent e) {
43 final DirectoryTreeTopComponent dirTree = DirectoryTreeTopComponent.findInstance();
44 dirTree.viewArtifact(artifact);
49 public Object clone() throws CloneNotSupportedException {