Autopsy  4.14.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.timeline.OpenTimelineAction Class Reference

Inherits CallableSystemAction.

Public Member Functions

 OpenTimelineAction ()
 
boolean asynchronous ()
 
HelpCtx getHelpCtx ()
 
JMenuItem getMenuPresenter ()
 
String getName ()
 
Component getToolbarPresenter ()
 
boolean isEnabled ()
 
void performAction ()
 
void setEnabled (boolean enable)
 
void showArtifactInTimeline (BlackboardArtifact artifact) throws TskCoreException
 
void showFileInTimeline (AbstractFile file) throws TskCoreException
 
void showTimeline () throws TskCoreException
 

Private Member Functions

synchronized void showTimeline (AbstractFile file, BlackboardArtifact artifact) throws TskCoreException
 
boolean tooManyFiles ()
 

Private Attributes

final JMenuItem menuItem
 
final JButton toolbarButton
 

Static Private Attributes

static final int FILE_LIMIT = 6_000_000
 
static final Logger logger = Logger.getLogger(OpenTimelineAction.class.getName())
 
static final long serialVersionUID = 1L
 

Detailed Description

An Action that opens the Timeline window. Has methods to open the window in various specific states (e.g., showing a specific artifact in the List View)

Definition at line 57 of file OpenTimelineAction.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.OpenTimelineAction.OpenTimelineAction ( )

Definition at line 68 of file OpenTimelineAction.java.

Member Function Documentation

boolean org.sleuthkit.autopsy.timeline.OpenTimelineAction.asynchronous ( )

Definition at line 164 of file OpenTimelineAction.java.

HelpCtx org.sleuthkit.autopsy.timeline.OpenTimelineAction.getHelpCtx ( )

Definition at line 159 of file OpenTimelineAction.java.

JMenuItem org.sleuthkit.autopsy.timeline.OpenTimelineAction.getMenuPresenter ( )

Definition at line 191 of file OpenTimelineAction.java.

String org.sleuthkit.autopsy.timeline.OpenTimelineAction.getName ( )

Definition at line 154 of file OpenTimelineAction.java.

Component org.sleuthkit.autopsy.timeline.OpenTimelineAction.getToolbarPresenter ( )

Returns the toolbar component of this action

Returns
component the toolbar button

Definition at line 186 of file OpenTimelineAction.java.

boolean org.sleuthkit.autopsy.timeline.OpenTimelineAction.isEnabled ( )

We used to also check if Case.getCurrentOpenCase().hasData() was true. We disabled that check because if it is executed while a data source is being added, it blocks the edt. We still do that in ImageGallery.

Definition at line 75 of file OpenTimelineAction.java.

References org.sleuthkit.autopsy.casemodule.Case.isCaseOpen(), and org.sleuthkit.autopsy.core.Installer.isJavaFxInited().

void org.sleuthkit.autopsy.timeline.OpenTimelineAction.performAction ( )
void org.sleuthkit.autopsy.timeline.OpenTimelineAction.setEnabled ( boolean  enable)

Set this action to be enabled/disabled

Parameters
enablewhether to enable this action or not

Definition at line 174 of file OpenTimelineAction.java.

void org.sleuthkit.autopsy.timeline.OpenTimelineAction.showArtifactInTimeline ( BlackboardArtifact  artifact) throws TskCoreException

Open the Timeline window with the given artifact selected in ListView. The how much time to show around it.

Parameters
artifactThe BlackboardArtifact to show in the Timeline.

Definition at line 148 of file OpenTimelineAction.java.

void org.sleuthkit.autopsy.timeline.OpenTimelineAction.showFileInTimeline ( AbstractFile  file) throws TskCoreException

Open the Timeline window with the given file selected in ListView. The user will be prompted to choose which timestamp to use for the file, and how much time to show around it.

Parameters
fileThe AbstractFile to show in the Timeline.

Definition at line 137 of file OpenTimelineAction.java.

synchronized void org.sleuthkit.autopsy.timeline.OpenTimelineAction.showTimeline ( AbstractFile  file,
BlackboardArtifact  artifact 
) throws TskCoreException
private
void org.sleuthkit.autopsy.timeline.OpenTimelineAction.showTimeline ( ) throws TskCoreException

Open the Timeline window with the default initial view.

Definition at line 125 of file OpenTimelineAction.java.

boolean org.sleuthkit.autopsy.timeline.OpenTimelineAction.tooManyFiles ( )
private

Member Data Documentation

final int org.sleuthkit.autopsy.timeline.OpenTimelineAction.FILE_LIMIT = 6_000_000
staticprivate

Definition at line 61 of file OpenTimelineAction.java.

final Logger org.sleuthkit.autopsy.timeline.OpenTimelineAction.logger = Logger.getLogger(OpenTimelineAction.class.getName())
staticprivate

Definition at line 60 of file OpenTimelineAction.java.

final JMenuItem org.sleuthkit.autopsy.timeline.OpenTimelineAction.menuItem
private

Definition at line 63 of file OpenTimelineAction.java.

final long org.sleuthkit.autopsy.timeline.OpenTimelineAction.serialVersionUID = 1L
staticprivate

Definition at line 59 of file OpenTimelineAction.java.

final JButton org.sleuthkit.autopsy.timeline.OpenTimelineAction.toolbarButton
private
Initial value:
= new JButton(getName(),
new ImageIcon(getClass().getResource("images/btn_icon_timeline_colorized_26.png")))

Definition at line 64 of file OpenTimelineAction.java.


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

Copyright © 2012-2020 Basis Technology. Generated on: Wed Apr 8 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.