I implement RefactoringElementListenerProvider to listen to rename and move of a file or a directory within the opened project.
- Select a file and move it to a folder by dragging it with mouse
- RefactoringElementAdapter.elementRenamedOrMoved is called
- Press Ctrl+Z to undo the move and confirm in the Undo dialog
- UndoRefactoringElementListener.undoElementMovedOrRenamed is not called
Why RefactoringElementAdapter.elementRenamedOrMoved work on a file move, but UndoRefactoringElementListener.undoElementMovedOrRenamed doesn't work on undo the file move?