Book a Demo

Author Topic: Delete object in list when are delated on diagram  (Read 11052 times)

Jeanluc

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Delete object in list when are delated on diagram
« on: April 07, 2005, 03:09:43 am »
Hi,

Another question  :) !

When I create an element on diagram, his name is added ti the elements list. If I suppress this elment on diagram, the object is not removed from list.

Is it possible to configure EA to suppress object name ?

J-Luc

thomaskilian

  • Guest
Re: Delete object in list when are delated on diag
« Reply #1 on: April 07, 2005, 03:42:37 am »
You're probably seeking for "Ctrl+Del". That will remove elements also from the browser (and the entire repository).

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Delete object in list when are delated on diag
« Reply #2 on: April 18, 2005, 08:20:49 pm »
Thomas,

I've found this only seems to work sporadically.  I just tried to delete an activity off a diagram with Ctrl+D (as indicated on the context menu item) and it didn't go.  I had to delete it from the browser - where the menu item didn't have "Ctrl+D" as a keyboard short cut for what i thought was the same action...

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

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Delete object in list when are delated on diag
« Reply #3 on: April 18, 2005, 08:40:24 pm »
Ha it gotcha Paolo!  Its control+Delete not control+D!

bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Delete object in list when are delated on diag
« Reply #4 on: April 18, 2005, 10:15:23 pm »
No - Got you Bruce!  :P ;D

Control-D means REMOVE (from diagram)
Control-Delete means DELETE (from Model)
Delete also appears to mean REMOVE (from Diagram) ???

Confusing?  Gotta be fixed! Even if only on the menus to make it clearer! >:(

Paolo
« Last Edit: April 18, 2005, 10:16:22 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Delete object in list when are delated on diag
« Reply #5 on: April 18, 2005, 11:13:21 pm »
I dont see whats confusing?
b
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Delete object in list when are delated on diag
« Reply #6 on: April 18, 2005, 11:27:36 pm »
The context menus say "delete" when they mean "remove"!

As an example, I was just moving a class to a diagram and EA kindly linked the class to its inheritors.  Now I didn't want to see the Generalization on this diagram.  I've just figured out that "delete" means remove - so I "removed" the Generalization by pressing the delete key (as per my previous post).

Luckily I didn't do anything else as I then remebered that delete for a line MEANS delete from the model!  (The old line vs shape dichotomy strikes again!)
So I quickly hit undo! And then sat there staring at the screen trying to remember how to remove the line only from the diagram.  Right click and there it was... Set Visibility.

This is yet a third version of what ought to be a set of orthogonal activities.

I either want to delete the object from the model or remove it from the diagram.  Line or shape doesn't matter... It ought to be the same thing.

BTW, like the frog in the slowly boiling water, we can get used to anything!  It's taken me a long time to learn how to try to look at things I'm familiar with - with the eyes of a newbie.

Paolo
« Last Edit: April 18, 2005, 11:28:30 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Delete object in list when are delated on diag
« Reply #7 on: April 18, 2005, 11:44:33 pm »
Just to add insult to injury, there doesn't seem to be a visibility option to hide in the current diagram.  Hide connector as I've just discovered means hide in ALL diagrams.  

Naively (perhaps) I thought the two options "Hide connector" and "Hide connector in other diagrams" were complimentary.  They're not!  The first includes the second.  ???

But there's no "Hide connector in current diagram only" option (that I can see). ::)

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

AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: Delete object in list when are delated on diag
« Reply #8 on: April 19, 2005, 12:01:12 am »
Thank you all for exploring these inconsistencies.

I will record this as a bug an will attempt to have this rectified in EA 5.0.

Thanks,

Ash
« Last Edit: April 19, 2005, 12:03:35 am by AshK »
The Sparx Team
[email protected]

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Delete object in list when are delated on diag
« Reply #9 on: April 19, 2005, 05:48:08 am »
Try menu Diagram > Set Visible Relations.

Hope this helps!
Bruno

Quote
Just to add insult to injury, there doesn't seem to be a visibility option to hide in the current diagram.  Hide connector as I've just discovered means hide in ALL diagrams.  

Naively (perhaps) I thought the two options "Hide connector" and "Hide connector in other diagrams" were complimentary.  They're not!  The first includes the second.  ???

But there's no "Hide connector in current diagram only" option (that I can see). ::)

Paolo


Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Delete object in list when are delated on diag
« Reply #10 on: April 19, 2005, 06:45:51 am »
Thanks Bruno,  Sure does!

But why isn't that option on the diagram context (right click) menu? :(

I'm sure there must be a pattern that gives the user a consistent experience when interacting with a product...

Perhaps something like:

"When one or more objects are selected, the Main Menu will show all options available to the object set, with those not applicable in the current context disabled.  The context menu will do likewise.  This pattern applies regardless of the selection process - whether via diagram, via browser or some other selector."

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

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Delete object in list when are delated on diag
« Reply #11 on: April 19, 2005, 08:06:20 am »
As far as the context menu goes, I am with you. It took me a while to get used to the fact that the context menu is not really context sensitive... I would much like it if EA followed the Microsoft usability guidelines.
But if I had to choose between the usability and functionality, the functionality will win :-)

Bruno

Quote
Thanks Bruno,  Sure does!

But why isn't that option on the diagram context (right click) menu? :(

I'm sure there must be a pattern that gives the user a consistent experience when interacting with a product...

Perhaps something like:

"When one or more objects are selected, the Main Menu will show all options available to the object set, with those not applicable in the current context disabled.  The context menu will do likewise.  This pattern applies regardless of the selection process - whether via diagram, via browser or some other selector."

Paolo


dserodio

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: Delete object in list when are delated on diag
« Reply #12 on: April 19, 2005, 12:55:17 pm »
I agree, the difference between "removing" and "deleting" an element is not clear.

"Remove" shouldn't ask for confirmation, "delete" should.

Also, I think "Remove" should be labeled "Remove from diagram".
Correctness is clearly the prime quality. If a system does not do what it is supposed to do, then everything else about it matters little. - Bertrand Meyer

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Delete object in list when are delated on diag
« Reply #13 on: April 19, 2005, 04:42:06 pm »
My main problem with connectors is accidentally deleting them, I'm always doing it. EA v5.0, currently in testing and maybe about a month from release, has three choices for behaviour of the DEL key on a connector: it'll delete it; it'll hide it; or it'll pop up a dialog asking which you want to do. First time up I ticked "Hide on DEL" and "Don't ask again" and now I'm causing much less carnage on my own models.
The Sparx Team
[email protected]

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Delete object in list when are delated on diag
« Reply #14 on: April 19, 2005, 08:38:53 pm »
Quote
Just to add insult to injury, there doesn't seem to be a visibility option to hide in the current diagram.  Hide connector as I've just discovered means hide in ALL diagrams.


Really?  I just did this and for me it only hid it on the current diagram.

If it did hide it on all diagrams then I would call that a bug.

Simon