| Simple layout policy question [message #671273] |
Tue, 17 May 2011 06:51  |
Kenneth Missing name Messages: 9 Registered: July 2009 |
Junior Member |
|
|
Hi, I've a simple? layout policy question.
When I try to move a child on top of another child the movement is blocked. No call to createChangeConstraint() is done and the icon is a stop sign.
I need to be able to drop on top of the child and copy the constraints to the other child.
Can someone enlighten me on where to look for this policy?
My models are very simple with one container and two different childs that I can create and move around. So everything works, except moving a child on top of another.
|
|
|
|
| Re: Simple layout policy question [message #671576 is a reply to message #671530] |
Wed, 18 May 2011 07:44  |
Kenneth Missing name Messages: 9 Registered: July 2009 |
Junior Member |
|
|
A more general follow up question: In my EditPart I try to use getTargetEditPart(request) to get the EditPart where I want to drop my child. But this always return null or itself?!
What is the flow for all the methods in EditPart and when/where does the TargetEditPart been registered?
I try to get the EditPart and fill the ExtendedData with the EditPart so that the command can find out the target EditPart, but with no luck?
[Updated on: Wed, 18 May 2011 07:45] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02867 seconds