Autopsy  4.4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.actions.AddTagAction.TagMenu Class Reference

Inherits JMenu.

Private Member Functions

void getAndAddTag (String tagDisplayName, TagName tagName, String comment)
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

Instances of this class implement a context menu user interface for creating or selecting a tag name for a tag and specifying an optional tag comment.

Definition at line 84 of file AddTagAction.java.

Member Function Documentation

void org.sleuthkit.autopsy.actions.AddTagAction.TagMenu.getAndAddTag ( String  tagDisplayName,
TagName  tagName,
String  comment 
)
private

Method to add to the action listener for each menu item. Allows a tag display name to be added to the menu with an action listener without having to instantiate a TagName object for it. When the method is called, the TagName object is created here if it doesn't already exist.

Parameters
tagDisplayNamedisplay name for the tag name
tagNameTagName object associated with the tag name, may be null
commentcomment for the content or artifact tag

Definition at line 167 of file AddTagAction.java.

References org.sleuthkit.autopsy.casemodule.services.TagsManager.addTagName(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.casemodule.services.TagsManager.getDisplayNamesToTagNamesMap(), org.sleuthkit.autopsy.coreutils.Logger.getLogger(), org.sleuthkit.autopsy.casemodule.Case.getServices(), and org.sleuthkit.autopsy.casemodule.services.Services.getTagsManager().

Member Data Documentation

final long org.sleuthkit.autopsy.actions.AddTagAction.TagMenu.serialVersionUID = 1L
staticprivate

Definition at line 86 of file AddTagAction.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2016 Basis Technology. Generated on: Fri Sep 29 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.