This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Removing an imported element in a package also removes the original element | ||
---|---|---|---|
Product: | uml | Reporter: | Joanne Lau <j_lau> |
Component: | General | Assignee: | Yang Su <sherylsu> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | jrojcek |
Priority: | P2 | Keywords: | UI |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Joanne Lau
2007-09-27 23:30:04 UTC
Removing original elements inadvertently results in user data loss, raise it to p2. Propose to add "Remove from Import" menu item and checkbox to differentiate removing imported itesm from deleting items. I'm not sure that introducing new action is the right solution. Maybe you're proposal is about *replacing* the existing "Delete" action by "Remove from Import". The new action would show up a dialog that would ask the user whether to delete the original item or just remove the imported item. Is that correct? I personally would suggest to just change the behavior of "Delete" action that simple *removes* the imported item and keeps the original item. My guess is that's what majority of users would expect to happen. Maybe you can rename it to "Remove" to make it clear what's going on. The decision was made to retain 'Delete' menu item for both imported element and all its sub nodes, but the 'Delete' on imported element will remove the element from imported list, but offer user an option to also delete it from original model, while 'Delete' on imported element sub nodes will actually delete those nodes from original model with the default object delete confirmation dialog. Fix verified in build 200710232304 |