|
Re: Respond to item click in popup menu [message #770057 is a reply to message #769050] |
Fri, 23 December 2011 07:58   |
Ralph Gerbig Messages: 702 Registered: November 2009 |
Senior Member |
|
|
Hi,
in case that all your models are specified correctly the link should be created automatically without the need for any implementation from your side. If you want to see what happens here you can set a break point into the doExecuteWithResult method of the PromptAndCreateConnectionCommand class which is an internal class of the GraphicalNodeEditPolicy class. I think you need to set the breakpoint after this line of code
CommandResult cmdResult = super.doExecuteWithResult(progressMonitor, info);
If you set the breakpoint at or before this line of code the context menu will not appear in the editor you are debugging.
Ralph
[Updated on: Fri, 23 December 2011 08:05] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02296 seconds