how to create several elements and connections in between in single a Command [message #58472] |
Mon, 02 October 2006 22:36  |
Eclipse User |
|
|
|
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 19:36  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05922 seconds