public void undoableEditHappened(UndoableEditEvent e) {
					undoManager.addEdit(e.getEdit());
					((UndoAction) getAction(UNDO)).updateState();
					((RedoAction) getAction(REDO)).updateState();
				}