Package org.sleuthkit.autopsy.datamodel

Examples of org.sleuthkit.autopsy.datamodel.DisplayableItemNode.accept()


            return new Node[]{};
        }

        final DisplayableItemNode diNode = (DisplayableItemNode) origNode;

        if (diNode.accept(showItemV) == false) {
            //do not show
            return new Node[]{};
        }

        // filter out the FileNode and the "." and ".." directories
View Full Code Here


            return new Node[]{};
        }

        // filter out the FileNode and the "." and ".." directories
        // do not set children, if we know the node type is a leaf node type
        final boolean isLeaf = diNode.accept(isLeafItemV);

        return new Node[]{this.copyNode(origNode, !isLeaf)};

    }
View Full Code Here

    public Action[] getActions(boolean popup) {

        List<Action> actions = new ArrayList<>();

        final DisplayableItemNode originalNode = (DisplayableItemNode) this.getOriginal();
        actions.addAll(originalNode.accept(getActionsDIV));

        //actions.add(new IndexContentFilesAction(nodeContent, "Index"));
        return actions.toArray(new Action[actions.size()]);
    }
View Full Code Here

        if ((original instanceof DisplayableItemNode) == false) {
            return null;
        }

        final DisplayableItemNode originalNode = (DisplayableItemNode) this.getOriginal();
        return originalNode.accept(getPreferredActionsDIV);
    }

    @Override
    public Node.PropertySet[] getPropertySets() {
        Node.PropertySet[] propertySets = super.getPropertySets();
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.