Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to create several elements and connections in between in single a Command
how to create several elements and connections in between in single a Command [message #58472] Tue, 03 October 2006 02:36 Go to next message
Eclipse UserFriend
Originally posted by: vcciubot.uwaterloo.ca

Hi all,

In my model, if a connection traverses structural hierarchies then it must
be broken down into sub-segments that begin and end on the frontiers of
the spanned elements.

One solution would be to configure the created connection to create the
intermediary elements and subsegments, but in this case an inconsistent
connection will still get created.

I need another approach, but I don't know how to create connections
between non existing edit parts. Is there some example code I should look
at?

thank you
Vlad
Re: how to create several elements and connections in between in single a Command [message #59010 is a reply to message #58472] Tue, 03 October 2006 23:36 Go to previous message
Eclipse UserFriend
Originally posted by: vcciubot.uwaterloo.ca

Solved my problem by modifying GraphicalNodeEditPolicy to use the model
only and rely on CanonicalConnectionEditPolicy to create the view elements.

On Mon, 02 Oct 2006 22:36:17 -0400, Vlad Ciubotariu wrote:

> Hi all,
>
> In my model, if a connection traverses structural hierarchies then it must
> be broken down into sub-segments that begin and end on the frontiers of
> the spanned elements.
>
> One solution would be to configure the created connection to create the
> intermediary elements and subsegments, but in this case an inconsistent
> connection will still get created.
>
> I need another approach, but I don't know how to create connections
> between non existing edit parts. Is there some example code I should look
> at?
>
> thank you
> Vlad
Previous Topic:Figures in diagram popup menu
Next Topic:Re: Multiple diagrams for the same EMF model
Goto Forum:
  


Current Time: Tue Jul 30 22:29:40 GMT 2024

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

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

Back to the top