Examples of IngestMessageGroup


Examples of org.sleuthkit.autopsy.ingest.IngestMessagePanel.IngestMessageGroup

    // End of variables declaration//GEN-END:variables

    private void viewArtifact(java.awt.event.ActionEvent evt) {
        artifactViewerInvoked();
       
        final IngestMessageGroup messageGroup = mainPanel.getMessagePanel().getSelectedMessage();
        if (messageGroup != null) {
            BlackboardArtifact art = messageGroup.getData();
            if (art != null) {
                BlackboardResultViewer v = Lookup.getDefault().lookup(BlackboardResultViewer.class);
                v.viewArtifact(art);
            }
        }
View Full Code Here

Examples of org.sleuthkit.autopsy.ingest.IngestMessagePanel.IngestMessageGroup

    }

    private void viewContent(java.awt.event.ActionEvent evt) {
        artifactViewerInvoked();
       
        final IngestMessageGroup messageGroup = mainPanel.getMessagePanel().getSelectedMessage();
        if (messageGroup != null) {
            BlackboardArtifact art = messageGroup.getData();
            if (art != null) {
                BlackboardResultViewer v = Lookup.getDefault().lookup(BlackboardResultViewer.class);
                v.viewArtifactContent(art);
            }
        }
View Full Code Here

Examples of org.sleuthkit.autopsy.ingest.IngestMessagePanel.IngestMessageGroup

    /**
     * Display the details of a given message
     * @param rowNumber index to the message to display
     */
    void showDetails(int rowNumber) {
        final IngestMessageGroup messageGroup = mainPanel.getMessagePanel().getMessageGroup(rowNumber);
        if (messageGroup != null) {
            String details = messageGroup.getDetails();
            if (details != null) {
                StringBuilder b = new StringBuilder();
                if (details.startsWith("<html><body>") == false) { //NON-NLS
                    b.append("<html><body>"); //NON-NLS
                    b.append(details);
                    b.append("</body></html>"); //NON-NLS
                }
                else {
                    b.append(details);
                }
                this.messageDetailsPane.setText(b.toString());
            } else {
                this.messageDetailsPane.setText("");
            }
            //show artifact/content only for a message group with a single message
            BlackboardArtifact artifact = messageGroup.getData();;
            if (artifact != null && messageGroup.getCount() == 1) {
                viewArtifactButton.setEnabled(true);
               
                //check file type
                long objId = artifact.getObjectID();
                AbstractFile file = null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.