Autopsy
3.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits TopComponent, org.sleuthkit.autopsy.corecomponentinterfaces.DataResult, and Provider.
Public Member Functions | |
DataResultTopComponent (boolean isMain, String title) | |
ExplorerManager | getExplorerManager () |
int | getPersistenceType () |
void | open () |
List< DataResultViewer > | getViewers () |
void | componentOpened () |
void | componentClosed () |
String | getPreferredID () |
void | setNode (Node selectedNode) |
void | setTitle (String title) |
void | setPath (String pathText) |
boolean | isMain () |
boolean | canClose () |
void | resetTabs (Node selectedNode) |
void | setSelectedNodes (Node[] selected) |
Node | getRootNode () |
Static Public Member Functions | |
static void | initInstance (String pathText, Node givenNode, int totalMatches, DataResultTopComponent newDataResult) |
static DataResultTopComponent | createInstance (String title, String pathText, Node givenNode, int totalMatches) |
static DataResultTopComponent | createInstance (String title, final String mode, String pathText, Node givenNode, int totalMatches, DataContentTopComponent dataContentWindow) |
static DataResultTopComponent | createInstance (String title) |
static List< String > | getActiveComponentIds () |
Protected Member Functions | |
String | preferredID () |
Private Member Functions | |
void | customizeComponent (boolean isMain, String title) |
void | initComponents () |
void | setCustomMode () |
Private Attributes | |
ExplorerManager | explorerManager = new ExplorerManager() |
DataResultPanel | dataResultPanel |
boolean | isMain |
String | customModeName |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(DataResultTopComponent.class.getName()) |
static final List< String > | activeComponentIds = Collections.synchronizedList(new ArrayList<String>()) |
Top component which displays results (top-right editor mode by default).
There is a main tc instance that responds to directory tree selections. Others can also create an additional result viewer tc using one of the factory methods, that can be:
For embedding custom data result in other top components window, use DataResultPanel component instead, since we cannot nest top components.
Encapsulates the internal DataResultPanel and delegates to it.
Implements DataResult interface by delegating to the encapsulated DataResultPanel.
Definition at line 54 of file DataResultTopComponent.java.
org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.DataResultTopComponent | ( | boolean | isMain, |
String | title | ||
) |
Create a new data result top component
isMain | whether it is the main, application default result viewer, there can be only 1 main result viewer |
title | title of the data result window |
Definition at line 72 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.customizeComponent(), and org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.initComponents().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.createInstance().
boolean org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.canClose | ( | ) |
Definition at line 300 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.casemodule.Case.existsCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.hasData.
void org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.componentClosed | ( | ) |
Definition at line 263 of file DataResultTopComponent.java.
void org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.componentOpened | ( | ) |
Definition at line 257 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.open().
|
static |
Creates a new non-default DataResult component and initializes it
title | Title of the component window |
pathText | Descriptive text about the source of the nodes displayed |
givenNode | The new root node |
totalMatches | Cardinality of root node's children |
Definition at line 140 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.DataResultTopComponent(), and org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.initInstance().
|
static |
Creates a new non-default DataResult component linked with a custom data content, and initializes it.
title | Title of the component window |
mode | custom mode to dock this custom TopComponent to |
pathText | Descriptive text about the source of the nodes displayed |
givenNode | The new root node |
totalMatches | Cardinality of root node's children |
dataContentWindow | a handle to data content top component window to |
Definition at line 160 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.DataResultTopComponent(), and org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.initInstance().
|
static |
Creates a new non-default DataResult component. You probably want to use initInstance after it
title |
Definition at line 174 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.DataResultTopComponent().
|
private |
Definition at line 96 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.isMain(), and org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setTitle().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.DataResultTopComponent().
|
static |
Get a list with names of active windows ids, e.g. for the menus
Definition at line 189 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.activeComponentIds.
ExplorerManager org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getExplorerManager | ( | ) |
Definition at line 181 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.explorerManager.
int org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getPersistenceType | ( | ) |
Definition at line 218 of file DataResultTopComponent.java.
String org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getPreferredID | ( | ) |
Gets the unique TopComponent ID of this class.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 275 of file DataResultTopComponent.java.
Node org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getRootNode | ( | ) |
Definition at line 319 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.getRootNode().
Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.actionPerformed(), org.sleuthkit.autopsy.directorytree.ViewContextAction.SelectionWorker.done(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.viewArtifact().
List<DataResultViewer> org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getViewers | ( | ) |
Get child viewers within this DataResult
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 233 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.getViewers().
|
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 199 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.dataResultPanel.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.DataResultTopComponent().
|
static |
Initialize previously created tc instance with additional data
pathText | |
givenNode | |
totalMatches | |
newDataResult | previously created with createInstance() uninitialized instance |
Definition at line 119 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.open(), org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setNode(), and org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setPath().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.createInstance().
boolean org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.isMain | ( | ) |
Checks if this is the main (uncloseable) instance of DataResult
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 295 of file DataResultTopComponent.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.customizeComponent().
void org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.open | ( | ) |
Definition at line 227 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setCustomMode().
Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.componentOpened(), org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.initInstance(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.openDirectoryListing().
|
protected |
Definition at line 270 of file DataResultTopComponent.java.
void org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.resetTabs | ( | Node | selectedNode | ) |
Resets the tabs based on the selected Node. If the selected node is null or not supported, disable that tab as well.
selectedNode | the selected content Node |
Definition at line 310 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.resetTabs().
|
private |
Definition at line 237 of file DataResultTopComponent.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.open().
void org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setNode | ( | Node | selectedNode | ) |
Sets the "selected" node in this class.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 280 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNode().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.initInstance(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.respondSelection().
void org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setPath | ( | String | pathText | ) |
Sets the descriptive context text at the top of the pane.
pathText | Descriptive text giving context for the current results |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 290 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.setPath().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.initInstance(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.respondSelection().
void org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setSelectedNodes | ( | Node[] | selected | ) |
Definition at line 315 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.setSelectedNodes().
Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.SelectionWorker.done(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.viewArtifact().
void org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setTitle | ( | String | title | ) |
Sets the title of this TopComponent
title | the given title (String) |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 285 of file DataResultTopComponent.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.customizeComponent().
|
staticprivate |
Definition at line 63 of file DataResultTopComponent.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getActiveComponentIds().
|
private |
Definition at line 60 of file DataResultTopComponent.java.
|
private |
Definition at line 58 of file DataResultTopComponent.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.initComponents().
|
private |
Definition at line 57 of file DataResultTopComponent.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getExplorerManager().
|
private |
Definition at line 59 of file DataResultTopComponent.java.
|
staticprivate |
Definition at line 56 of file DataResultTopComponent.java.
Copyright © 2012-2015 Basis Technology. Generated on: Mon Oct 19 2015
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.