Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
10.9
-
None
-
Unknown
-
Description
We currently have at least two refactoring listeners used to prevent users when they are doing potentially breaking refactoring:
- XClassDeletingListener: used if a document involved in the refactoring contains an used XClass
- DocumentsDeletingListener: used if a document involved in the refactoring belongs to an extension
Both listeners are used in interactive jobs to propose an UI to the user, allowing him to change the selection of pages before the refactoring. However they are currently bypassed for non-interactive jobs.
We should also provide a way to warn users in case of non interactive jobs.