Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » get target after creating relationship
get target after creating relationship [message #876405] Thu, 24 May 2012 14:31
Chris B. is currently offline Chris B.Friend
Messages: 37
Registered: November 2011
Member
Hi everyone,

i have overriden the AbstractEditHelperAdvice class to create a new command in the getAfterCreateRelationshipCommand method. Once i drop a connection from one node to another i want to return a new command depending on the target. My problem is that request.getTarget() always returns null. The source node is recognized but i need to know on which diagram element in the canvas the connection was dropped. Any help appreciated.

Regards
Chris

Previous Topic:Duplicate command drop-down when dropping nestable widget from palette
Next Topic:Connections can't be made
Goto Forum:
  


Current Time: Thu Jan 16 09:15:01 GMT 2025

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

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

Back to the top