Author Topic: Undo / Delete  (Read 7578 times)

Zidane

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Undo / Delete
« 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

Jan ´Bary´ Glas

  • EA User
  • **
  • Posts: 408
  • Karma: +0/-0
  • Bary
    • View Profile
Re: Undo / Delete
« Reply #1 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.
Jan 'Bary' Glas

thomaskilian

  • Guest
Re: Undo / Delete
« Reply #2 on: September 04, 2006, 02:42:28 am »
Ad ad 2: Use CTRL-U to find where the elements are used in diagrams

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: Undo / Delete
« Reply #3 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?
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

thomaskilian

  • Guest
Re: Undo / Delete
« Reply #4 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).

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: Undo / Delete
« Reply #5 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
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

Zidane

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Undo / Delete
« Reply #6 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

thomaskilian

  • Guest
Re: Undo / Delete
« Reply #7 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.

Zidane

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Undo / Delete
« Reply #8 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

Jan ´Bary´ Glas

  • EA User
  • **
  • Posts: 408
  • Karma: +0/-0
  • Bary
    • View Profile
Re: Undo / Delete
« Reply #9 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.
Jan 'Bary' Glas

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Undo / Delete
« Reply #10 on: October 02, 2006, 10:51:28 am »
Yes, that would be helpful.

Add another vote.
No, you can't have it!