public static void toggleExpansionText(Node currentNode, JoeTree tree, OutlineLayoutManager layout, boolean shiftDown) {
		if (currentNode.isExpanded()) {
			currentNode.setExpanded(false, !shiftDown);
		} else {
			if (shiftDown) {
				currentNode.ExpandAllSubheads();
			} else {
				currentNode.setExpanded(true, true);
			}
		}

		// Redraw
		layout.draw(currentNode, OutlineLayoutManager.TEXT);
	}