Community
Participate
Working Groups
Delete .di file -- .notation and .uml files will be deleted as well. The problem is that the dialog asks 'Are you sure you want to delete .di file from the file system'. The messages asks about only file, but three files are deleted in fact, including .uml model. There is a button 'Preview>', calling it will display an dialog listing all the files are to be deleted. But I really not easy to notice it. This operation cannot be rolledback, it no way to make 'Undo'.The user should at least be alerted at the main dialog that two other files will be deleted as well. And better if the user is asked if he wants to delete them.
Steps to reproduce (special for Cedric :) ): 1.Select .di file. Press 'Delete' key on the keyboard. or 2. Select .di file Open context menu of the .di file. Invoke 'Delete' action from the context menu.
This hapen in the Eclipse Navigator and is an Eclipse behavior, not a Papyrus one. Not sure if we can provide a solution for that.
(In reply to comment #2) > This hapen in the Eclipse Navigator and is an Eclipse behavior, not a Papyrus > one. Not sure if we can provide a solution for that. The functionality to delete .notation and .uml files is implemented by Papyrus. See org.eclipse.papyrus.navigator.internal.ltk.DeleteModelParticipant and org.eclipse.papyrus.navigator.internal.ltk.ModelParticipantHelpers classes.
Duplicate of Bug 313229, which is fixed. *** This bug has been marked as a duplicate of bug 313229 ***