Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Service to query itemprovider combobox elements when connecting reference based edge
Service to query itemprovider combobox elements when connecting reference based edge [message #1728875] Fri, 08 April 2016 08:03 Go to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 372
Registered: December 2015
Senior Member
Hi,

I use a reference based edge mapping to create relationships between
elements. In the item provider for the source elemnent I have already
customized the getComboboxElements() method for the related reference.

I would now like to use this in the target edge connection precondition.
The precondition would be true if the target element is in the
collection returned by getComboboxElements(). I think I can easily
implement a service for this, but maybe we could provide something like
this in the services that are provided by default in sirius? (Are there
actually any pre-defined services?)

Thanks,
Felix
Re: Service to query itemprovider combobox elements when connecting reference based edge [message #1728914 is a reply to message #1728875] Fri, 08 April 2016 12:42 Go to previous message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 253
Registered: August 2010
Senior Member
On 04/08/2016 10:03 AM, Felix Dorner wrote:
> Hi,

Hi Felix,

There is a bugzilla about the integration of EMF.Edit customizations
with Sirius.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=482831.

For now, the scope of this issue is not totally described but do not
hesitate to add some suggestions.


>
> I use a reference based edge mapping to create relationships between
> elements. In the item provider for the source elemnent I have already
> customized the getComboboxElements() method for the related reference.
>
> I would now like to use this in the target edge connection precondition.
> The precondition would be true if the target element is in the
> collection returned by getComboboxElements(). I think I can easily
> implement a service for this, but maybe we could provide something like
> this in the services that are provided by default in sirius? (Are there
> actually any pre-defined services?)
>
> Thanks,
> Felix

Regards,

--
Florian - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:[Sirius] Get element from mouse hover event on diagram
Next Topic:Add key listener on an element of diagram
Goto Forum:
  


Current Time: Mon Jan 25 06:40:51 GMT 2021

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

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

Back to the top