}
else if (node.getType() == Node.CUSTOM_NODE) {
return new CustomNodeContextMenu(mTree, selectedPath[0], node.getActionMenus());
}
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;