Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » AddFeature (link element)
AddFeature (link element) [message #985711] Thu, 15 November 2012 18:25 Go to next message
Rui Domingues is currently offline Rui DominguesFriend
Messages: 194
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 20:57 Go to previous message
Rui Domingues is currently offline Rui DominguesFriend
Messages: 194
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 21:08]

Report message to a moderator

Previous Topic:Draw Diagram after startup
Next Topic:Getting started with non EMF Domain Models, need an example
Goto Forum:
  


Current Time: Sat Apr 20 04:14:28 GMT 2024

Powered by FUDForum. Page generated in 0.02316 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top