27-07-2016 11:52 AM - edited 27-07-2016 12:00 PM
Hi Community,
Can someone help me , how to trigger an event on drag and dropping an object on to the other.
The idea is when we nest an object on the other object, I should connect two objects with some relation.
Thanks in advance.
28-07-2016 09:23 AM
Hi ahbui,
Dragging and dropping means, placing an object on the other object on a diagram.
About the requirement:
The Archimate standard prescribes three types of relationships can be visualized by nesting objects, they are:
1) composition
2) aggregation
3) assignment
If an object would be nested in another object, MEGA should behave as follows:
case A: no composition, aggregation or assignment relation exists from the nesting to the nested object
1) a popup is shown giving the user the option to create a relationship implied by the nesting:
the options are the intersection between the allowed relationship types between the 2 objects and the relationship types that can be expressed through nesting
2) the user can select one of the relationships in the popup, the user can also decide not to select any of the proposed relations
case B: there is already a composition and/or aggregation and/or assignment relation from the nesting to the nested object
no popup is shown
For this I have to trigger an event on nesting an object by other object.
Thanks for looking in to it.
28-07-2016 04:14 AM - edited 28-07-2016 04:32 AM
I misunderstood the questions to drag and dropping objects in a diagram. Removed the post to avoid confusion.