Autopsy
4.5.0
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) | |
boolean | canClose () |
void | componentClosed () |
void | componentOpened () |
ExplorerManager | getExplorerManager () |
int | getPersistenceType () |
String | getPreferredID () |
Node | getRootNode () |
List< DataResultViewer > | getViewers () |
boolean | isMain () |
void | open () |
void | resetTabs (Node selectedNode) |
void | setNode (Node selectedNode) |
void | setPath (String pathText) |
void | setSelectedNodes (Node[] selected) |
void | setTitle (String title) |
Static Public Member Functions | |
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 () |
static void | initInstance (String pathText, Node givenNode, int totalMatches, DataResultTopComponent newDataResult) |
Protected Member Functions | |
String | preferredID () |
Private Member Functions | |
void | customizeComponent (boolean isMain, String title) |
void | initComponents () |
void | setCustomMode () |
Private Attributes | |
String | customModeName |
final DataResultPanel | dataResultPanel |
final ExplorerManager | explorerManager = new ExplorerManager() |
boolean | isMain |
Static Private Attributes | |
static final List< String > | activeComponentIds = Collections.synchronizedList(new ArrayList<String>()) |
static final Logger | logger = Logger.getLogger(DataResultTopComponent.class.getName()) |
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 60 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 78 of file DataResultTopComponent.java.
boolean org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.canClose | ( | ) |
Definition at line 312 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.hasData(), and org.sleuthkit.autopsy.casemodule.Case.isCaseOpen().
void org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.componentClosed | ( | ) |
Definition at line 275 of file DataResultTopComponent.java.
void org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.componentOpened | ( | ) |
Definition at line 269 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 153 of file DataResultTopComponent.java.
|
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 176 of file DataResultTopComponent.java.
|
static |
Creates a new non-default DataResult component. You probably want to use initInstance after it
title |
Definition at line 192 of file DataResultTopComponent.java.
|
private |
Definition at line 103 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.actions.AddBookmarkTagAction.BOOKMARK_SHORTCUT.
|
static |
Get a list with names of active windows ids, e.g. for the menus
Definition at line 208 of file DataResultTopComponent.java.
ExplorerManager org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getExplorerManager | ( | ) |
Definition at line 199 of file DataResultTopComponent.java.
int org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getPersistenceType | ( | ) |
Definition at line 237 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 287 of file DataResultTopComponent.java.
Node org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getRootNode | ( | ) |
Definition at line 336 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.getRootNode().
List<DataResultViewer> org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getViewers | ( | ) |
Get child viewers within this DataResult
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 252 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 218 of file DataResultTopComponent.java.
|
static |
Initialize previously created tc instance with additional data
pathText | |
givenNode | |
totalMatches | |
newDataResult | previously created with createInstance() uninitialized instance |
Definition at line 130 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.open(), org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setNode(), and org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setPath().
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 307 of file DataResultTopComponent.java.
void org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.open | ( | ) |
Definition at line 246 of file DataResultTopComponent.java.
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 282 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 327 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.resetTabs().
|
private |
Definition at line 256 of file DataResultTopComponent.java.
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 292 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNode().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.initInstance().
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 302 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.setPath().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.initInstance().
void org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setSelectedNodes | ( | Node[] | selected | ) |
Definition at line 332 of file DataResultTopComponent.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.setSelectedNodes().
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 297 of file DataResultTopComponent.java.
|
staticprivate |
Definition at line 69 of file DataResultTopComponent.java.
|
private |
Definition at line 66 of file DataResultTopComponent.java.
|
private |
Definition at line 64 of file DataResultTopComponent.java.
|
private |
Definition at line 63 of file DataResultTopComponent.java.
|
private |
Definition at line 65 of file DataResultTopComponent.java.
|
staticprivate |
Definition at line 62 of file DataResultTopComponent.java.
Copyright © 2012-2016 Basis Technology. Generated on: Tue Feb 20 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.