Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to create link and node at the same time
How to create link and node at the same time [message #209176] Wed, 22 October 2008 12:34 Go to next message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 266
Registered: July 2009
Location: Paris Saclay, France
Senior Member
Hi,
I would like to create a set of node and link between them, thanks to the
palette.
For the moment, I can only create each element element, but I don't know how
and where I can create this composition of creation.
For example for link I think I have to put position for target anchor and
source anchor.

Patrick
Re: How to create link and node at the same time [message #209191 is a reply to message #209176] Wed, 22 October 2008 14:16 Go to previous message
Eclipse UserFriend
Originally posted by: tobk42.gmx.de

For starters, you can use the ModellingAssistantProvider for creating a
Link together with its target node. There you can determine the possible
source and target element types for a given link, so the editor will
ask you which target node to create when drawing a link in "empty
space". If there's only one target element possible, the node will be
create right away.

Alas, I do not know how to create a link from the palette if there's not
even the source node present... :-(


Regards,
Tobias



Patrick Tessier schrieb:
> Hi,
> I would like to create a set of node and link between them, thanks to the
> palette.
> For the moment, I can only create each element element, but I don't know how
> and where I can create this composition of creation.
> For example for link I think I have to put position for target anchor and
> source anchor.
>
> Patrick
>
>
Previous Topic:DropObjectsRequest problem
Next Topic:Remove cut/copy/paste from Popup
Goto Forum:
  


Current Time: Sun Jan 17 20:19:35 GMT 2021

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

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

Back to the top