Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits TopComponent, org.sleuthkit.autopsy.corecomponentinterfaces.DataExplorer, and Provider.
Public Member Functions | |
void | addOnFinishedListener (PropertyChangeListener l) |
boolean | canClose () |
void | componentClosed () |
void | componentOpened () |
Action[] | getActions () |
DataResultTopComponent | getDirectoryListing () |
ExplorerManager | getExplorerManager () |
int | getPersistenceType () |
Node | getSelectedNode () |
boolean | getShowRejectedResults () |
TopComponent | getTopComponent () |
boolean | hasMenuOpenAction () |
void | openDirectoryListing () |
void | propertyChange (PropertyChangeEvent event) |
void | refreshContentTreeSafe () |
void | setDirectoryListingActive () |
void | setShowRejectedResults (boolean showRejectedResults) |
void | viewArtifact (final BlackboardArtifact art) |
void | viewArtifactContent (BlackboardArtifact art) |
Static Public Member Functions | |
static synchronized DirectoryTreeTopComponent | findInstance () |
static synchronized DirectoryTreeTopComponent | getDefault () |
Protected Member Functions | |
String | preferredID () |
Private Member Functions | |
DirectoryTreeTopComponent () | |
void | backButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | forwardButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | initComponents () |
void | openViewPreferencesButtonActionPerformed (java.awt.event.ActionEvent evt) |
void | preExpandNodes (Children rootChildren) |
void | promptForDataSourceGrouping (int dataSourceCount) |
void | readPropertiesImpl (java.util.Properties p) |
void | rebuildTree () |
void | refreshTagsTree () |
void | resetHistory () |
void | setSelectedNode (final String[] previouslySelectedNodePath, final String rootNodeName) |
void | subscribeToChangeEvents () |
void | updateHistory (Node[] selectedNodes) |
Private Attributes | |
Accounts | accounts |
AutopsyTreeChildFactory | autopsyTreeChildFactory |
Children | autopsyTreeChildren |
javax.swing.JButton | backButton |
final LinkedList< String[]> | backList |
final DataResultTopComponent | dataResult = new DataResultTopComponent(Bundle.DirectoryTreeTopComponent_resultsView_title()) |
final transient ExplorerManager | em = new ExplorerManager() |
javax.swing.JButton | forwardButton |
final LinkedList< String[]> | forwardList |
javax.swing.JButton | openViewPreferencesButton |
boolean | showRejectedResults |
javax.swing.JScrollPane | treeView |
final ViewPreferencesPanel | viewPreferencesPanel = new ViewPreferencesPanel(true) |
javax.swing.JPopupMenu | viewPreferencesPopupMenu |
Static Private Attributes | |
static final long | DEFAULT_DATASOURCE_GROUPING_THRESHOLD = 5 |
static final String | GROUPING_THRESHOLD_NAME = "GroupDataSourceThreshold" |
static DirectoryTreeTopComponent | instance |
static final Logger | LOGGER = Logger.getLogger(DirectoryTreeTopComponent.class.getName()) |
static final String | PREFERRED_ID = "DirectoryTreeTopComponent" |
static final String | SETTINGS_FILE = "CasePreferences.properties" |
Top component which displays something.
Definition at line 102 of file DirectoryTreeTopComponent.java.
|
private |
the constructor
Definition at line 123 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.casemodule.CasePreferences.getGroupItemsInTreeByDataSource().
void org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.addOnFinishedListener | ( | PropertyChangeListener | l | ) |
Definition at line 1295 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 365 of file DirectoryTreeTopComponent.java.
boolean org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.canClose | ( | ) |
Definition at line 676 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.hasData().
void org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.componentClosed | ( | ) |
Called only when top component was closed so that now it is closed on all workspaces in the system. The intent is to provide subclasses information about TopComponent's life cycle across workspaces. Subclasses will usually perform cleaning tasks here.
Definition at line 640 of file DirectoryTreeTopComponent.java.
void org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.componentOpened | ( | ) |
Called only when top component was closed on all workspaces before and now is opened for the first time on some workspace. The intent is to provide subclasses information about TopComponent's life cycle across all existing workspaces. Subclasses will usually perform initializing tasks here.
to override the right click action in the white blank space area on the directory tree window
Definition at line 506 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.coreutils.ModuleSettings.getConfigSetting(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.CasePreferences.getGroupItemsInTreeByDataSource(), org.sleuthkit.autopsy.coreutils.ModuleSettings.MAIN_SETTINGS, org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.open(), org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI, org.sleuthkit.autopsy.coreutils.ModuleSettings.setConfigSetting(), and org.sleuthkit.autopsy.coreutils.ModuleSettings.settingExists().
|
static |
Obtain the DirectoryTreeTopComponent instance. Never call getDefault directly!
Definition at line 448 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.getDefault().
Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.actionPerformed().
|
private |
Definition at line 394 of file DirectoryTreeTopComponent.java.
Action [] org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.getActions | ( | ) |
Right click action for this top component window
Definition at line 706 of file DirectoryTreeTopComponent.java.
|
static |
Gets default instance. Do not use directly: reserved for *.settings files only, i.e. deserialization routines; otherwise you could get a non-deserialized instance. To obtain the singleton instance, use findInstance.
Definition at line 435 of file DirectoryTreeTopComponent.java.
Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.findInstance(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideRejectedResultsCheckboxActionPerformed(), org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.load(), org.sleuthkit.autopsy.casemodule.CasePreferences.setGroupItemsInTreeByDataSource(), and org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.store().
DataResultTopComponent org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.getDirectoryListing | ( | ) |
Definition at line 250 of file DirectoryTreeTopComponent.java.
ExplorerManager org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.getExplorerManager | ( | ) |
Gets the explorer manager.
Definition at line 696 of file DirectoryTreeTopComponent.java.
Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.actionPerformed().
int org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.getPersistenceType | ( | ) |
Overwrite when you want to change default persistence type. Default persistence type is PERSISTENCE_ALWAYS
Definition at line 472 of file DirectoryTreeTopComponent.java.
Node org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.getSelectedNode | ( | ) |
Gets the original selected node on the explorer manager
Definition at line 715 of file DirectoryTreeTopComponent.java.
Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.actionPerformed().
boolean org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.getShowRejectedResults | ( | ) |
Show rejected results?
Definition at line 259 of file DirectoryTreeTopComponent.java.
Referenced by org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.load().
TopComponent org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.getTopComponent | ( | ) |
Gets the TopComponent for rendering this DateExplorer
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataExplorer.
Definition at line 1063 of file DirectoryTreeTopComponent.java.
boolean org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.hasMenuOpenAction | ( | ) |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataExplorer.
Definition at line 1068 of file DirectoryTreeTopComponent.java.
|
private |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
Definition at line 282 of file DirectoryTreeTopComponent.java.
void org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.openDirectoryListing | ( | ) |
Definition at line 246 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.open().
|
private |
Definition at line 414 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.load().
|
private |
Pre-expands the Views node, the Results node, and all of the children of the Results node.
rootChildren | Children node containing Results node and Views node. |
Definition at line 193 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.datamodel.ResultsNode.NAME, and org.sleuthkit.autopsy.datamodel.ViewsNode.NAME.
|
protected |
Returns the unique ID of this TopComponent
Definition at line 671 of file DirectoryTreeTopComponent.java.
|
private |
Ask the user if they want to group by data source when opening a large case.
dataSourceCount | The number of data sources in the case. |
Definition at line 482 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.casemodule.CasePreferences.getGroupItemsInTreeByDataSource(), and org.sleuthkit.autopsy.casemodule.CasePreferences.setGroupItemsInTreeByDataSource().
void org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.propertyChange | ( | PropertyChangeEvent | event | ) |
The "listener" that monitors changes made in the Case class. This serves the purpose of keeping the UI in sync with the data as it changes.
event | The property change event. |
Checking for a current case is a stop gap measure until a different way of handling the closing of cases is worked out. Currently, remote events may be received for a case that is already closed.
Case is closed, do nothing.
Definition at line 732 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.casemodule.Case.Events.CURRENT_CASE, org.sleuthkit.autopsy.casemodule.Case.Events.DATA_SOURCE_ADDED, org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.Case.getName(), org.sleuthkit.autopsy.corecomponentinterfaces.CoreComponentControl.openCoreWindows(), and org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI.
|
private |
Definition at line 660 of file DirectoryTreeTopComponent.java.
|
private |
Rebuilds the autopsy tree.
Does nothing if there is no open case.
Definition at line 970 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.Case.hasData(), and org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.refreshChildren().
void org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.refreshContentTreeSafe | ( | ) |
Refresh the content node part of the dir tree safely in the EDT thread
Definition at line 934 of file DirectoryTreeTopComponent.java.
Referenced by org.sleuthkit.autopsy.casemodule.CasePreferences.setGroupItemsInTreeByDataSource().
|
private |
Refresh only the tags subtree(s) of the tree view.
Definition at line 941 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.casemodule.CasePreferences.getGroupItemsInTreeByDataSource(), and org.sleuthkit.autopsy.datamodel.Tags.getTagsDisplayName().
|
private |
Resets the back and forward list, and also disable the back and forward buttons.
Definition at line 914 of file DirectoryTreeTopComponent.java.
void org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.setDirectoryListingActive | ( | ) |
Definition at line 242 of file DirectoryTreeTopComponent.java.
Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.actionPerformed().
|
private |
Set the selected node using a path to a previously selected node.
previouslySelectedNodePath | Path to a previously selected node. |
rootNodeName | Name of the root node to match, may be null. |
Definition at line 1017 of file DirectoryTreeTopComponent.java.
void org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.setShowRejectedResults | ( | boolean | showRejectedResults | ) |
Setter to determine if rejected results should be shown or not.
showRejectedResults | True if showing rejected results; otherwise false. |
Definition at line 269 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.datamodel.accounts.Accounts.setShowRejected().
Referenced by org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.hideRejectedResultsCheckboxActionPerformed(), and org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.store().
|
private |
Make this TopComponent a listener to various change events.
Definition at line 212 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.core.UserPreferences.addChangeListener(), org.sleuthkit.autopsy.casemodule.Case.addEventTypeSubscriber(), org.sleuthkit.autopsy.casemodule.Case.Events.CURRENT_CASE, org.sleuthkit.autopsy.casemodule.Case.Events.DATA_SOURCE_ADDED, org.sleuthkit.autopsy.core.UserPreferences.DISPLAY_TIMES_IN_LOCAL_TIME, org.sleuthkit.autopsy.core.UserPreferences.DISPLAY_TRANSLATED_NAMES, org.sleuthkit.autopsy.core.UserPreferences.HIDE_KNOWN_FILES_IN_DATA_SRCS_TREE, org.sleuthkit.autopsy.core.UserPreferences.HIDE_KNOWN_FILES_IN_VIEWS_TREE, org.sleuthkit.autopsy.core.UserPreferences.HIDE_SCO_COLUMNS, org.sleuthkit.autopsy.core.UserPreferences.HIDE_SLACK_FILES_IN_DATA_SRCS_TREE, org.sleuthkit.autopsy.core.UserPreferences.HIDE_SLACK_FILES_IN_VIEWS_TREE, org.sleuthkit.autopsy.core.UserPreferences.KEEP_PREFERRED_VIEWER, org.sleuthkit.autopsy.core.UserPreferences.SHOW_ONLY_CURRENT_USER_TAGS, and org.sleuthkit.autopsy.core.UserPreferences.TIME_ZONE_FOR_DISPLAYS.
|
private |
Definition at line 875 of file DirectoryTreeTopComponent.java.
void org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.viewArtifact | ( | final BlackboardArtifact | art | ) |
Definition at line 1072 of file DirectoryTreeTopComponent.java.
References org.sleuthkit.autopsy.datamodel.CreditCards.getBINInfo(), org.sleuthkit.autopsy.datamodel.ResultsNode.NAME, org.sleuthkit.autopsy.datamodel.ExtractedContent.NAME, org.sleuthkit.autopsy.datamodel.EmailExtracted.parsePath(), and org.sleuthkit.autopsy.datamodel.DisplayableItemNode.setChildNodeSelectionInfo().
void org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.viewArtifactContent | ( | BlackboardArtifact | art | ) |
Definition at line 1289 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 114 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 112 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 113 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 420 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 108 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 106 of file DirectoryTreeTopComponent.java.
|
staticprivate |
Definition at line 116 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 104 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 421 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 109 of file DirectoryTreeTopComponent.java.
|
staticprivate |
Definition at line 117 of file DirectoryTreeTopComponent.java.
|
staticprivate |
Definition at line 105 of file DirectoryTreeTopComponent.java.
|
staticprivate |
Definition at line 111 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 422 of file DirectoryTreeTopComponent.java.
|
staticprivate |
Definition at line 110 of file DirectoryTreeTopComponent.java.
|
staticprivate |
Definition at line 118 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 115 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 423 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 107 of file DirectoryTreeTopComponent.java.
|
private |
Definition at line 424 of file DirectoryTreeTopComponent.java.
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.