| AddFeature (link element) [message #985711] |
Thu, 15 November 2012 13:25  |
Rui Domingues Messages: 162 Registered: October 2010 |
Senior Member |
|
|
Hi.
In an AddFeature, I was trying to link a shape to two objects, just like this:
link(shape, A)
link(shape, B)
However when a get the BOs of shape, only B is in the list.
Is this the correct behaviour?
Note: shape is not active.
Thanks
Rui
|
|
|
| Re: AddFeature (link element) [message #985731 is a reply to message #985711] |
Thu, 15 November 2012 15:57  |
Rui Domingues Messages: 162 Registered: October 2010 |
Senior Member |
|
|
Forget. Don't bother please. I checked now that there are two "link" methods. One with an object as argument, and other with an array.
I noticed also that AbstractFeatureProvider#link(PictogramElement pictogramElement, Object[] businessObjects), which is invoked at last, clears link.getBusinessObjects() each time link is invoked.
Thanks any way.
[Updated on: Thu, 15 November 2012 16:08] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02188 seconds