Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Zidane on August 31, 2006, 12:06:58 pm

Title: Undo / Delete
Post by: Zidane on August 31, 2006, 12:06:58 pm
Hi again!

1 - Undo: "Note: some actions cannot be undone." Can I find a list of these actions somwhere? Would it be possible to inform/warn the user when an undo does not affect the latest action?!

2 - Delete: Is it possible to delete several selected elements in project browser at once?

Thank you very much...

Best regards,
DD
Title: Re: Undo / Delete
Post by: Jan ´Bary´ Glas on August 31, 2006, 11:09:05 pm
Ad 1 - Undo. My experience says that only layout and similar actions can be undone in 6.1. I know there are some changes in 6.5 Beta, but I am not sure how much improvement is done.

Does anyone know more than is written in news?

Ad 2 - Delete. From Tools/Options uncheck Confirm deletes from Project Browser. Choose more elements at once in PROJECT BROWSER and Ctrl+Delete.
I WOULD NEVER USE SUCH A DANGEROUS THING!
What I do is that I have a package named Bin, where I put all leftovers. Only problem is that you have to delete them from diagrams and relations manually.
Title: Re: Undo / Delete
Post by: thomaskilian on September 04, 2006, 02:42:28 am
Ad ad 2: Use CTRL-U to find where the elements are used in diagrams
Title: Re: Undo / Delete
Post by: Dave_Bullet on September 05, 2006, 08:11:57 pm
um.... if you delete an element from the project browser - it is by definition "removed" so cannot appear on diagrams - hence nothing to manually update?
Title: Re: Undo / Delete
Post by: thomaskilian on September 06, 2006, 07:12:35 am
The suggestion was, not to delete, but to move to a Bin-folder. In that case you have to remove (obsolete) diagram elements manually (by using Ctlr-U).
Title: Re: Undo / Delete
Post by: Dave_Bullet on September 13, 2006, 07:34:30 pm
If you really like taking life into your own hands....  You can use SQL to remove elements that are not used on diagrams (delete from t_object where object_id not in t_diagram).  You may have to cascade this to t_connectors and related tables too.

Cheers,
David
Title: Re: Undo / Delete
Post by: Zidane on September 19, 2006, 03:41:25 pm
Thank you all for your suggestions: Ctrl-U, Ctrl-Del was very helpful and I have studied a list of all shortcuts in the meantime ;-)

Coming back to that Undo-Issue. Am I the only one having a problem with that functionality?
For me it would be okay if Undo is just not available anymore if it is not possible to undo the latest action.

But what we have now is very confusing:
*) Sometimes Undo is not available (e.g. if you delete a class from the model  ;) )
*) Sometimes the action before is undone (e.g. add a class to a diagram, rename it and undo... the class is gone (from the diagram))
*) Ctrl-Del a class from a diagram...you get a warning that the action can not be undone.

Whats your experience with Undo or how do you handle it?

Best regards,
DD
Title: Re: Undo / Delete
Post by: thomaskilian on September 19, 2006, 11:12:08 pm
More or less we (meaning most of the EA users) have arranged with the missing Undo. The undo just works for the last diagram operations that have no impact on the model elements (move, delete, but not Ctrl-Del). There has also been quite some discussion. Try to search the forum for Undo.
Title: Re: Undo / Delete
Post by: Zidane on September 29, 2006, 04:21:21 pm
Quote
Ad 2 - Delete. From Tools/Options uncheck Confirm deletes from Project Browser. Choose more elements at once in PROJECT BROWSER and Ctrl+Delete.
I WOULD NEVER USE SUCH A DANGEROUS THING!
What I do is that I have a package named Bin, where I put all leftovers. Only problem is that you have to delete them from diagrams and relations manually.


I agree... now  :o

Maybe Sparx could make it a little less dangerous by showing number of links and number of element usages in delete confirmation box.
Would be 8)

best regards,
DD
Title: Re: Undo / Delete
Post by: Jan ´Bary´ Glas on October 02, 2006, 01:06:24 am
Quote
... showing number of links and number of element usages in delete confirmation box.

That's it! My vote.
Title: Re: Undo / Delete
Post by: «Midnight» on October 02, 2006, 10:51:28 am
Yes, that would be helpful.

Add another vote.