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 connections of an element during runtime
Getting the Source and target connections of an element during runtime [message #58736] Tue, 03 October 2006 14:18 Go to next message
Eclipse UserFriend
Originally posted by: vikas.goyal.hp.com

Hello,

I am developing a VXML application using GMF.

During Runtime how can i get the Source and Target connections of an
element.

Before deleting the element i need to check the source and target
connection held by that element. How can do this.

Regards,
Vikas
Re: Getting the Source and target connections of an element during runtime [message #58912 is a reply to message #58736] Tue, 03 October 2006 16:09 Go to previous message
Mohammed Mostafa is currently offline Mohammed MostafaFriend
Messages: 143
Registered: July 2009
Senior Member
Vikas Goyal wrote:

If by Element you mean Notation View element you can use
View#getSourceEdges and View#getTargetEdges
if you have an Edit Part you can get the view form the edit part using
GraphicalEditPart#getNotationView and use getSourceEdges and getTargetEdges


> Hello,
>
> I am developing a VXML application using GMF.
>
> During Runtime how can i get the Source and Target connections of an
> element.
>
> Before deleting the element i need to check the source and target
> connection held by that element. How can do this.
>
> Regards,
> Vikas
>
Previous Topic:Elements are disappearing in Tree Editor
Next Topic:Figures in diagram popup menu
Goto Forum:
  


Current Time: Sat Aug 17 22:19:38 GMT 2024

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

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

Back to the top