Community
Participate
Working Groups
When deleting a model within the project explorer, if the model is itself open, it should be first closed (sithout saing modification if any) and then be deleted.
Current behavior (0.10.X): file deletion is always possible without warning, even if editors are open. Editor is not closed, but the user is notified about resource deletion when he enters the editor. Textual editors are closed, when their underlying resource is deleted (or the project in which they are defined is closed!). In addition, there is a check before deletion if editors with unsaved changes are open (no warning, if they are just open), as shown in the attachment For a consistent behavior with textual editors, Papyrus should behave in the same way as textual editors.
Created attachment 228564 [details] Dialog that is shown when the user tries to delete a file that is opened by the default texteditor (and has unsaved changes)
Since Kepler SR0, the related editors are automatically closed if the files are deleted, unless there are unsaved changes, in which cases there is a user warning. I close this task