My application has three documentWindows (image 1) and window3 can float (other two windows cannot float and are pinned). None of the them can be hidden or closed or autohide. When user tries to re-dock the floating window3, the docking guides show all directions (Image 2), I want the user to be able to dock in center (fill) position or to the right of window2 only. User cannot dock to any side or center of window1.
1.User should only be able to dock window3 side by side or as vertically tabbed group to window2. window3 cannot enter the container of window1 in any case.
2. When the user clicks on close button of floating window3, it should re-dock itself as tabbed document in the layout configuration the user last had; meaning if user had window2 and window3 tabbed side by side (traditional tabbed view), it should redock back to center (fill) position and if window3 was to the right of window2 (as shown in Image1), then likewise.