Issue with drop in Compartment Pattern [message #1067302] |
Mon, 08 July 2013 05:10  |
Eclipse User |
|
|
|
Hi All,
I have created a node namely "Union_1" which is our main compartment using Compartment Pattern. To this node, I add an entry, lets say a database table. The entries in the node are actually Compartment entries / shape.
Now when I select another node and hover my mouse over the database table, I get a
"Do-Not-Drop" icon. I am not able to get a drop handle over the added entry.
I have attached a video for your better reference.
Thanks & Regards,
Rahul Dev Mishra
|
|
|
|
|
Re: Issue with drop in Compartment Pattern [message #1067409 is a reply to message #1067393] |
Mon, 08 July 2013 10:31   |
Eclipse User |
|
|
|
A video is great for demonstrating how it behaves for the user.
However, nobody here doubts what you experience with your editor. There is no need to proof you are telling the truth here, we believe you.
The problem with a video is that it does not show internals. That is, you show it is broken, but we cannot inspect the internals to see how or why it is broken.
To get forward in solving the problem, I believe the internals of "why" is what you should focus on. Your answer, and the answer of Michael Wenz sound contradictionary, so it would be useful to verify what the real code does at this point. Use a debugger or print information while running the code to check that your code gets called, and that it returns the expected value.
If that does not help, the problem must be more hidden. A useful strategy here is to reduce the amount of code, until you have a working editor. The last reduction step you made then should contain the real cause of the failure.
|
|
|
|
Re: Issue with drop in Compartment Pattern [message #1067543 is a reply to message #1067490] |
Tue, 09 July 2013 05:32  |
Eclipse User |
|
|
|
Hi Michael / Albert,
The issue is resolved now.
The new entry which was getting created inside the node was of type Shape. Hence the drop was not happening over it. Now I have changed it to Container shape and I am able to see the drop icon when I hover my mouse over the element.
Thanks a lot for the quick replies.
Thanks & Regards,
Rahul Dev Mishra
|
|
|
Powered by
FUDForum. Page generated in 0.03820 seconds