Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Edge connections to list elements(Edge connections to list elements)
Edge connections to list elements [message #1234700] Wed, 22 January 2014 16:09 Go to next message
Sean Chaffee is currently offline Sean ChaffeeFriend
Messages: 1
Registered: January 2014
Junior Member
Hi.

I've just started looking at your technology and it looks awesome. I was wondering if it was possible to have edge connections to individual elements in a list (in a diagram) or if an edge could only be connected to the listbox itself (container).

Thanks in advance,
Sean
Re: Edge connections to list elements [message #1234720 is a reply to message #1234700] Wed, 22 January 2014 17:00 Go to previous messageGo to next message
Eclipse UserFriend
Le 22/01/2014 17:11, Sean Chaffee a écrit :
> Hi.
>
> I've just started looking at your technology and it looks awesome. I was
> wondering if it was possible to have edge connections to individual
> elements in a list (in a diagram) or if an edge could only be connected
> to the listbox itself (container).
> Thanks in advance,
> Sean

Hi Sean,

The edge end cannot be connected to list item in a container using only
Sirius. But as Sirius is GMF based it should be possible to use the GMF
API to provide your own ConnectionAnchor to locate the edge end on list
item.

Best Regards.
Re: Edge connections to list elements [message #1498927 is a reply to message #1234720] Thu, 04 December 2014 19:35 Go to previous messageGo to next message
Tom ManningFriend
Messages: 2
Registered: September 2011
Junior Member
I realize that I'm replying to an ancient message, but I'm pretty sure that what Sean describes is what I'm looking to do. I have list items in one container that each connect to different list items in another container, and I want to see the lines between each of them (to show mapping of fields between two different classes, for instance). Like this:

index.php/fa/20142/0/

I'm not sure where to look in the source to extend Sirius with this capability. Any hints?

Thanks!
Re: Edge connections to list elements [message #1508310 is a reply to message #1498927] Fri, 12 December 2014 09:44 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 74
Registered: May 2011
Member
Hello,

Sorry for the delay of this reply. Actually, we have a specification of
this evolution that was asked by a client, but was not elected to be
implemented. However, this was written before Sirius became open-source.
Therefore, there is no bugzilla yet. Can you create a bugzilla for this
evolution? I will clean up/update the specification and add it to this
bugzilla.

Regards,
Steve

Le 04/12/2014 22:00, Tom Manning a écrit :
> I realize that I'm replying to an ancient message, but I'm pretty sure that what Sean describes is what I'm looking to do. I have list items in one container that each connect to different list items in another container, and I want to see the lines between each of them (to show mapping of fields between two different classes, for instance). Like this:
>
>
>
> I'm not sure where to look in the source to extend Sirius with this capability. Any hints?
>
> Thanks!
>


--
Steve Monnier - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Edge connections to list elements [message #1508673 is a reply to message #1508310] Fri, 12 December 2014 16:12 Go to previous messageGo to next message
Tom ManningFriend
Messages: 2
Registered: September 2011
Junior Member
Thanks! bugzilla 455056 submitted. I would attempt the implementation myself but I'm not sure where to begin. Is there a way to get a rough idea in a couple of bullet points, if only to more easily familiarize myself with the Sirius codebase, or am I better off just waiting to see what comes of the bug report?
Re: Edge connections to list elements [message #1508696 is a reply to message #1508673] Fri, 12 December 2014 16:35 Go to previous message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 74
Registered: May 2011
Member
Hello,

Thank you for the bugzilla creation. If you want a quick spoiler of the
specification :), you will need to :
- update the sirius metamodel for DNodeListElement to have the same
behavior than DNode;
- update the editparts DNodeListElementEditPart to be more than just a
label;
- update the edit policies and view factories;
- update the behavior of style refresh and tools for this edit part.

I will join the document to the bugzilla as soon as possible.

Regards,
Steve

Le 12/12/2014 17:12, Tom Manning a écrit :
> Thanks! bugzilla 455056 submitted. I would attempt the implementation
> myself but I'm not sure where to begin. Is there a way to get a rough
> idea in a couple of bullet points, if only to more easily familiarize
> myself with the Sirius codebase, or am I better off just waiting to see
> what comes of the bug report?


--
Steve Monnier - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Automatically create diagram on instance creation
Next Topic:Context of content in Sirius
Goto Forum:
  


Current Time: Thu Dec 18 09:36:44 GMT 2014

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

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