carmdevol / oryx-editor

Automatically exported from code.google.com/p/oryx-editor
Other
0 stars 0 forks source link

Drag and Drop recognition of childshapes #486

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Write your own layout manager, that arranges childshapes that are contained 
by a parentshape outside of this and not inside. 
2. Create a parent-shape ("Service"), add another child-shape1 ("Service") into 
the parentshape. 
3. Try to add another child-shape2 ("Service") using drag and drop into the 
child-shape1, that are already contained by a parent-shape. 

What is the expected output?
The childshape that is contained by the parentshape should be recognized as a 
drop target for a new stencil that is drag into this canvas ore more precisley
into the already existing childshape
What do you see instead?
The childshape that is contained by the parentshape isn't recognized as a drop 
target, there is no highlighting. My guess is, that the bound of the childshape 
must be part of the bound of parentshape. 

Please use labels and text to provide additional information.

Please could anybody tell me where in the code of the oryx editor this bounding 
check is realized and how i can fix it.

Original issue reported on code.google.com by sar...@gmail.com on 4 Aug 2011 at 9:57

GoogleCodeExporter commented 8 years ago
Forgot it, i fixed it :)

Original comment by sar...@gmail.com on 4 Aug 2011 at 1:21