delete doesn't delete from model [message #554849] |
Tue, 24 August 2010 14:27 |
No real name Messages: 2 Registered: August 2010 |
Junior Member |
|
|
Hi,
I have a very odd problem, i have a connection and whenever i hit the "del" key, only the diagramm/view gets deleted and after i press F5 the connection diagramm/view gets created again.
My workaround now is, that i make rightclick and select "delete from Model" from the Menu.
I tried to find the error but i only could find, that the "getDestroyElementCommand" only does fire when i delete the connection from the Model (but not when i hit the "del" key)(though it does fire quite a lot e.g. when i just click he connection - is that normal?).
The Element's are synchronised (thats why the connection gets recreated every time i think), but why doesn't the model gets destroyed when i delete the connection?
If anyone could provide me with anything, a tip or just an idea please let me know, I am pretty much clueless right now.
P.S. I'm sorry that i couldn't provide a concrete code sample, but a) i dont know which i should post, and b) its a very large chunk of code and i don't know if I'm allowed to post it^^'.
P.P.S. If you need any additional Information, please let me know
Thanks in advance!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02718 seconds