Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits AbstractAction.
Classes | |
class | AncestorVisitor |
Public Member Functions | |
ViewContextAction (String displayName, BlackboardArtifactNode artifactNode) | |
ViewContextAction (String displayName, AbstractFsContentNode<?extends AbstractFile > fileSystemContentNode) | |
ViewContextAction (String displayName, AbstractAbstractFileNode<?extends AbstractFile > abstractAbstractFileNode) | |
ViewContextAction (String displayName, Content content) | |
void | actionPerformed (ActionEvent event) |
Private Member Functions | |
Node | findParentNodeInTree (Content parentContent, Node node) |
Private Attributes | |
final Content | content |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(ViewContextAction.class.getName()) |
static final long | serialVersionUID = 1L |
An action that displays the context for some content by expanding the data sources branch of the tree view to the level of the parent of the content, selecting the parent in the tree view, then selecting the content in the results view.
Definition at line 67 of file ViewContextAction.java.
org.sleuthkit.autopsy.directorytree.ViewContextAction.ViewContextAction | ( | String | displayName, |
BlackboardArtifactNode | artifactNode | ||
) |
An action that displays the context for the source content of an artifact by expanding the data sources branch of the tree view to the level of the parent of the content, selecting the parent in the tree view, then selecting the content in the results view.
displayName | The display name for the action. |
artifactNode | The artifact node for the artifact. |
Definition at line 82 of file ViewContextAction.java.
References org.sleuthkit.autopsy.core.UserPreferences.hideKnownFilesInDataSourcesTree(), and org.sleuthkit.autopsy.core.UserPreferences.hideSlackFilesInDataSourcesTree().
org.sleuthkit.autopsy.directorytree.ViewContextAction.ViewContextAction | ( | String | displayName, |
AbstractFsContentNode<?extends AbstractFile > | fileSystemContentNode | ||
) |
An action that displays the context for some file system content by expanding the data sources branch of the tree view to the level of the parent of the content, selecting the parent in the tree view, then selecting the content in the results view.
displayName | The display name for the action. |
fileSystemContentNode | The file system content node for the content. |
Definition at line 105 of file ViewContextAction.java.
org.sleuthkit.autopsy.directorytree.ViewContextAction.ViewContextAction | ( | String | displayName, |
AbstractAbstractFileNode<?extends AbstractFile > | abstractAbstractFileNode | ||
) |
An action that displays the context for abstract file by expanding the data sources branch of the tree view to the level of the parent of the content, selecting the parent in the tree view, then selecting the content in the results view.
displayName | The display name for the action. |
abstractAbstractFileNode | The AbstractAbstractFileNode node for the content. |
Definition at line 120 of file ViewContextAction.java.
org.sleuthkit.autopsy.directorytree.ViewContextAction.ViewContextAction | ( | String | displayName, |
Content | content | ||
) |
An action that displays the context for some content by expanding the data sources branch of the tree view to the level of the parent of the content, selecting the parent in the tree view, then selecting the content in the results view.
displayName | The display name for the action. |
content | The content. |
Definition at line 134 of file ViewContextAction.java.
References org.sleuthkit.autopsy.directorytree.ViewContextAction.content.
void org.sleuthkit.autopsy.directorytree.ViewContextAction.actionPerformed | ( | ActionEvent | event | ) |
Displays the context for some content by expanding the data sources branch of the tree view to the level of the parent of the content, selecting the parent in the tree view, then selecting the content in the results view.
event | The action event. |
Definition at line 153 of file ViewContextAction.java.
References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.error(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.findInstance(), org.sleuthkit.autopsy.directorytree.ViewContextAction.findParentNodeInTree(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.getExplorerManager(), org.sleuthkit.autopsy.casemodule.CasePreferences.getGroupItemsInTreeByDataSource(), org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.getSelectedNode(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), org.sleuthkit.autopsy.datamodel.DataSourcesNode.NAME, org.sleuthkit.autopsy.datamodel.DisplayableItemNode.setChildNodeSelectionInfo(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.setDirectoryListingActive().
|
private |
Searches tree for parent node by getting an ordered list of the ancestors of the specified content.
parentContent | parent content for the content to be searched for |
node | Node tree to search |
Convert the list of ancestors into a list of tree nodes.
IMPORTANT: The "dummy" root node used to create this single layer of children needs to be wrapped in a DirectoryTreeFilterNode so that its child nodes will also be wrapped in DirectoryTreeFilterNodes, via DirectoryTreeFilterNodeChildren. Otherwise, the display names of the nodes in the branch will not have child node counts and will not match the display names of the corresponding nodes in the actual tree view.
Definition at line 297 of file ViewContextAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.actionPerformed().
|
private |
Definition at line 71 of file ViewContextAction.java.
Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.ViewContextAction().
|
staticprivate |
Definition at line 70 of file ViewContextAction.java.
|
staticprivate |
Definition at line 69 of file ViewContextAction.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.