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
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.


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

Current Time: Sat Oct 31 16:41:08 GMT 2020

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

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

Back to the top