Autopsy  4.6.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | List of all members
org.sleuthkit.autopsy.communications.MessageBrowser.FocusPropertyListener Class Reference

Inherits PropertyChangeListener.

Public Member Functions

void propertyChange (final PropertyChangeEvent focusEvent)
 

Detailed Description

Since the embedded MessageContentViewer (attachments panel) is not in its own TopComponenet, its selection does not get proxied into the Global Actions Context (GAC), and many of the available actions don't work on it. Further, we can't put the selection from both the Messages table and the Attachments table in the GAC because they could include have AbstractFiles, muddling the selection seen by the actions. Instead, depending on where the focus is in the window, we want to put different Content in the Global Actions Context to be picked up by, e.g., the tagging actions. The best way I could figure to do this was to listen to all focus events and swap out what is in the lookup appropriately. An alternative to this would be to investigate using the ContextAwareAction interface.

Definition at line 195 of file MessageBrowser.java.

Member Function Documentation

void org.sleuthkit.autopsy.communications.MessageBrowser.FocusPropertyListener.propertyChange ( final PropertyChangeEvent  focusEvent)

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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Mar 26 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.