Skip to main content



      Home
Home » Modeling » Graphiti » AddFeature (link element)
AddFeature (link element) [message #985711] Thu, 15 November 2012 13:25 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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] by Moderator

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


Current Time: Wed Jul 23 17:39:40 EDT 2025

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

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

Back to the top