Book a Demo

Author Topic: Moving diagram element moves model element  (Read 2199 times)

martin.grotzke

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Moving diagram element moves model element
« on: August 09, 2004, 06:40:54 am »
Hello,

i just noticed a weird behavior, where moving an element in a diagram moves the corresponding element in the ProjectView from it's former parent element (owner) to another one:

Say i have package A, with UseCase1 in it.
To UseCase1 i created a child activity diagram, and dropped an activity Activity1 on it, so that the activity is the child element of UseCase1.

Now i created a new child activity diagram to package A, and placed an activity BusinessProcess1 on it. So the BusinessProcess1 activity and the UseCase1 are neighbors.

When i have the diagram with BusinessProcess1 opened, and drag the Activity1 onto the BusinessProcess1, everything is ok:
- the Activity1 is shown within the BusinessProcess1, and
- Activity1 remains to be the child of UseCase1.

But when i now drag the Activity1 in the diagram with BusinessProcess1, the model element Activity1 becomes a child of BusinessProcess1, in the ProjectView it moves "under" the BusinessProcess1 activity.

Now i wonder: is this a bug or a feature?
I think it's a bug, because a modification of x- and y- coordinates of a  notation element should not cause any modification of the corresponding model element.

Any hints?

Regards,
Martin
« Last Edit: August 09, 2004, 06:54:31 am by magro »

martin.grotzke

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Moving diagram element moves model element
« Reply #1 on: August 09, 2004, 07:21:22 am »
I just noticed that this happens only when the activities Activity1 and BusinessProcess1 are in the same package.

If Acitivity1 (and UseCase1) are in a different package than the BusinessProcess1, everything is ok, no weird model modifications.

Cheers,
Martin
« Last Edit: August 09, 2004, 07:21:47 am by magro »