Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Getting the source and target Node form an Edge
Getting the source and target Node form an Edge [message #229130] Thu, 07 May 2009 09:54 Go to next message
TL is currently offline TLFriend
Messages: 22
Registered: July 2009
Junior Member
Hi,

I am trying to get the EditParts of the source and target Nodes form the
EditPart of the Edge that connects the mentioned Nodes. Could someone
point me into the right direction how to achieve this.

Thank you very much.
Re: Getting the source and target Node form an Edge [message #229256 is a reply to message #229130] Fri, 08 May 2009 04:08 Go to previous message
BG is currently offline BGFriend
Messages: 45
Registered: July 2009
Member
If you have the edge editpart then you can say
editpart.getSource and editpart.getTarget else if you have the edge with
you then edge.getSource and edge.getTarget and then obtain the editpart
for the view

Regards
Byre
Previous Topic:GMF or GEF
Next Topic:How to get the EditPart of a Node from its View object?
Goto Forum:
  


Current Time: Fri Apr 19 00:26:35 GMT 2024

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

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

Back to the top