Author Topic: Show number of diagrams and number of links in delete pop-up  (Read 8699 times)

etaha

  • EA User
  • **
  • Posts: 47
  • Karma: +1/-1
    • View Profile
Once I click delete, it's nice to know how many diagrams (if any) and how many links (if any) the element selected to be deleted has.
Thanks

Thelonius

  • EA User
  • **
  • Posts: 274
  • Karma: +6/-0
  • I think. Therefore I get paid.
    • View Profile
Re: Show number of diagrams and number of links in delete pop-up
« Reply #1 on: July 25, 2019, 01:00:52 pm »
This would be very useful so +1.

"Show on all diagrams" already there, but manual.
"Show links" same, but a second step.

I know people who have mistakenly assumed that if an element does not appear on any diagrams, it must be an orphan, so they mistakenly deleted things from the project browser they didn't really want to delete. Hahaha. Imagine anyone being that careless.

It would help protect the integrity of their models if these dependencies were more easily viewable.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8561
  • Karma: +254/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Show number of diagrams and number of links in delete pop-up
« Reply #2 on: July 25, 2019, 03:26:28 pm »
This would be very useful so +1.

"Show on all diagrams" already there, but manual.
"Show links" same, but a second step.

I know people who have mistakenly assumed that if an element does not appear on any diagrams, it must be an orphan, so they mistakenly deleted things from the project browser they didn't really want to delete. Hahaha. Imagine anyone being that careless.

It would help protect the integrity of their models if these dependencies were more easily viewable.
+1

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

philchudley

  • EA User
  • **
  • Posts: 729
  • Karma: +19/-0
  • UML/EA Principal Consultant / Trainer
    • View Profile
Re: Show number of diagrams and number of links in delete pop-up
« Reply #3 on: July 25, 2019, 07:39:44 pm »
Blowing my own trumpet and putting a little sales hat on

Check out my Extension to EA which monitors deletes and then displays a dialog detailing the impact of the delete.
If you go ahead and delete item(s) are placed in a Re-Cycle bin from where they can be restored or deleted permanently

https://sparxsystems.com/products/3rdparty.html#easafedelete

Being honest and up front, there is a slight issue in handling, multiple deletes, in so much as the user options of what do to with an element (delete or move to re-cycle bin) are repeated for each element.

It is available for free for trial

All the best

Phil
follow me on Twitter

@SparxEAGuru

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Show number of diagrams and number of links in delete pop-up
« Reply #4 on: July 29, 2019, 07:16:13 pm »
Once I click delete, it's nice to know how many diagrams (if any) and how many links (if any) the element selected to be deleted has.
Thanks

+1

skiwi

  • EA Expert
  • ****
  • Posts: 2068
  • Karma: +46/-82
    • View Profile
Re: Show number of diagrams and number of links in delete pop-up
« Reply #5 on: July 30, 2019, 06:04:11 am »
++1
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

qwerty

  • EA Guru
  • *****
  • Posts: 13547
  • Karma: +395/-300
  • I'm no guru at all
    • View Profile
Re: Show number of diagrams and number of links in delete pop-up
« Reply #6 on: July 30, 2019, 08:06:50 am »
Although (as already said) the relationships window (it's docked for my config) and a Ctrl-U will show the same, a message "Delete X with N relations on M diagrams?" would be more helpful than just "Delete X?". (Hey Sparxians, do you read?)

q.