public static void clearEditableForSingleNode(Node node, CompoundUndoable undoable) {
		int oldValue = node.getEditableState();
		int newValue = Node.EDITABLE_INHERITED;
		
		if (oldValue != Node.EDITABLE_INHERITED) {
			node.setEditableState(Node.EDITABLE_INHERITED);
			undoable.addPrimitive(new PrimitiveUndoableEditableChange(node, oldValue, newValue));
		}
				
		for (int i = 0, limit = node.numOfChildren(); i < limit; i++) {
			clearEditableForSingleNode(node.getChild(i), undoable);
		}
	}