Book a Demo

Author Topic: Boundaries and contained objects  (Read 6198 times)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Boundaries and contained objects
« on: March 22, 2010, 11:07:51 am »
When I move or drag a boundary containing entities all the entities that are fully contained maintain their position within the boundary.

When I align the boundary with another object all the entities that are fully contained are left behind.

Is this a bug or a feature,
methinks the former?


« Last Edit: March 22, 2010, 11:10:31 am by skiwi »
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

beginner

  • Guest
Re: Boundaries and contained objects
« Reply #1 on: March 22, 2010, 06:53:58 pm »
Metoo. But you likely have to accept it as a feature. Align just looks at the selected elements. The docking is one of the features added in a later release.

b.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Boundaries and contained objects
« Reply #2 on: March 22, 2010, 07:54:07 pm »
Quote
Metoo. But you likely have to accept it as a feature. Align just looks at the selected elements. The docking is one of the features added in a later release.

b.
Skiwi was just talking about alignment, not docking.  But the real point is that although EA has pseudo-grouping, it doesn't have real groupng...  So we'll have to accept (as you say) that it's a feature.

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

beginner

  • Guest
Re: Boundaries and contained objects
« Reply #3 on: March 22, 2010, 08:51:57 pm »
As I understood skiwi wanted the boundary PLUS the docked elements (the pseudo group) to be moved to the alignment. Probably docked is not the correct word, but I do not know a better one.

b.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Boundaries and contained objects
« Reply #4 on: March 22, 2010, 09:34:42 pm »
Quote
As I understood skiwi wanted the boundary PLUS the docked elements (the pseudo group) to be moved to the alignment. Probably docked is not the correct word, but I do not know a better one.

b.
The correct word is grouped.  

Docked (as in a ship docked at a wharf) implies the edges are physically touching.  That's why Sparx upgraded the ability of elements to "dock" with each other.  In my experiments external docking seemed to work OK.  I didn't try internal "docking".  In Skiwi's example, if the internal elements were hard against the boundary, they might be considered internally docked and maybe they might have behaved differently.

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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Boundaries and contained objects
« Reply #5 on: March 22, 2010, 09:39:44 pm »
The easiest solution to this problems is to align the "simple" objects with the "grouped" object. This way the "grouped" object doesn't move and the nested elemens stay neatly int the box.

(of course this only helps if you only have one "grouped" object to align)

Geert

beginner

  • Guest
Re: Boundaries and contained objects
« Reply #6 on: March 23, 2010, 08:45:05 pm »
Quote
The correct word is grouped.  
Thanks Professor :-) Please keep in mind that I'm just a Kraut. (Why in heaven are Germans "Krauts" while Swedish aren't? Only in Sweden you get a free bag of sauerkraut with your pizza. Trying to order that in Germany will likely get you a kick-out from the Italian.)

b.
« Last Edit: March 23, 2010, 08:46:31 pm by beginner »

ebeb

  • EA User
  • **
  • Posts: 169
  • Karma: +0/-0
    • View Profile
Re: Boundaries and contained objects
« Reply #7 on: March 23, 2010, 09:54:19 pm »
Quote
Is this a bug or a feature,
methinks the former?

I'd consider this as a bug. This aligment feature should use the same "move element" routine as it is used with the mouse.

PS.: Sauerkraut with Pizza??  :o

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Boundaries and contained objects
« Reply #8 on: March 24, 2010, 09:38:50 am »
Quote
Why in heaven are Germans "Krauts" while Swedish aren't? Only in Sweden you get a free bag of sauerkraut with your pizza. Trying to order that in Germany will likely get you a kick-out from the Italian.
Shouldn't that be coleslaw? Goes very well with pizza :)
The Sparx Team
[email protected]

ebeb

  • EA User
  • **
  • Posts: 169
  • Karma: +0/-0
    • View Profile
Re: Boundaries and contained objects
« Reply #9 on: March 24, 2010, 06:42:26 pm »
Quote
Shouldn't that be coleslaw? Goes very well with pizza :)

I think that's what he meant. AFAIK coleslaw is some kind of "Sauerkraut" salad, isn't it?

But still...on a pizza?  :o

beginner

  • Guest
Re: Boundaries and contained objects
« Reply #10 on: March 24, 2010, 06:49:49 pm »
Maybe, Neil. But when you wait long enough it becomes sauerkraut. It's more than 15 years since I worked in Sweden. So my memory might be wrong. (Thanks to Roy I now do know where the Kraut stems from.)

b.
« Last Edit: March 24, 2010, 06:51:01 pm by beginner »

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Boundaries and contained objects
« Reply #11 on: March 25, 2010, 06:17:53 am »
Reported as a bug
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Boundaries and contained objects
« Reply #12 on: March 25, 2010, 01:34:27 pm »
Feedback from bug report

Unfortunately this is an expected limitation of Align function.
Currently the Align only considers the elements that are selected.
A feature request has been submitted so that the inclusion of embedded elements (as you described) is considered for implementation in a future release.

In regard to moving a boundary without moving the embedded/contained elements, you can do this by holding the Alt key while dragging the boundary.

Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.