Community
Participate
Working Groups
The deletion of a project is a very critical operation. This operation should require some serious thought from the user. From the Navigator, one can select a model and delete it from the context menu. This is reasonable functionality
Oops forgot the rest of the Description text ... What isn't reasonable is that the dialog that confirms the action has "yes" as the default. Steps to repeat: 1. select model in navigator 2. select delete from context menu 3. the dialog in question should appear Expected results: - Dialog should either have "no" as the default or have an icon to indicate seriousness of the situation.
The delete confirmation dialog was changed in the 2.0 stream to not delete the project's contents by default. User has to check the option in the dialog and then press OK to delete contents. This was done back in Dec, 2001 (not sure of the exact build day)
The original title was mis-leading. Although when a project is deleted, you're given the option to keep the contents so it's probably alright to have the YES button as the default. When a file is being deleted, the confirmation dialog should have "NO" as the default button.
We can't set the default button on the MessageDialog due to Bug 14668 which requires setFocus to be used when setDefaultButton is called. If we set focus we break all of the focus/accessibility work done by the the sublclasses of MessageDialog.
Defualt should stay as OK - the user has already been prompted once - asking them twice everytime would be annoying.