Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Overriding the Add feature(Cannot get the add feature to work correctly)
Overriding the Add feature [message #683527] Mon, 13 June 2011 23:23 Go to next message
vrm  is currently offline vrm Friend
Messages: 31
Registered: June 2011
Member
Hello Folks,

I'm new to Graphiti and following the Online Tutorial to get my hands on with this tool.As described in the tutorial,i implemented the Add feature but when I test it , it doesnt seem to work.On debugging,I found that the canAdd() feature returned me a false as the targetConnection of the active context was null.I cant figure out what the problem is ? Any suggestions.

Thanks,
VM
Re: Overriding the Add feature [message #683694 is a reply to message #683527] Tue, 14 June 2011 08:55 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1921
Registered: July 2009
Location: Walldorf, Germany
Senior Member
At a first glance I would suggest to check that the linking between the
shapes for the EClasses and the actualm EClass objects are correctly set. To
say more I would need to debug that...

I would suggest to also compare the behavior to the one of the finished
tutorial example, maybe that helps to identify the bug.

Michael


"vrm" schrieb im Newsbeitrag news:it65l4$3nm$1@news.eclipse.org...

Hello Folks,

I'm new to Graphiti and following the Online Tutorial to get my hands on
with this tool.As described in the tutorial,i implemented the Add feature
but when I test it , it doesnt seem to work.On debugging,I found that the
canAdd() feature returned me a false as the targetConnection of the active
context was null.I cant figure out what the problem is ? Any suggestions.

Thanks,
VM
Previous Topic:Double lined arrow
Next Topic:Collapse Feature Bug?
Goto Forum:
  


Current Time: Thu Aug 06 14:12:47 GMT 2020

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

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

Back to the top