233234235236237238239240241242
} else if (node.getType() == Node.ROOT) { return new RootNodeContextMenu(mTree, selectedPath[0]); } else if (node.getType() == Node.STRUCTURE_NODE) { return new StructureNodeContextMenu(mTree, selectedPath[0]); } return null; }