I'm trying to implement linked/nested docksites with serialization. So if I have ParentDockSite with two children ChildDocksite1 and ChildDocksite2, I want the children to be able to serialize their individual layouts. Also, the parent should be able to serialize it's layout, with the layout of the children also saved. In addition, all the docksites should be linked so that I can move content and views between the docksites. I have the child docksites contained within a rafting host/tool window.
I have got the nesting and linking working, but my issue is with dragging content into child docksites. It seems to sometimes give me the docking options of the rafting host or tool window. Other times I will get the docking options of the child docksite underneath. For these windows, I would prefer to see the docking options of the child docksites so that the content can be moved into the child docksite. Is there a way to force this?
Also, do you have opinion on this approach? The idea is to be able to save overall layout of the parent docksite, but also have customizable child docksites that can be saved and reloaded within the main docksite, without destroying the current layout of the parent docksite. Do you foresee any issues when it comes time for me to then implement the nested serialization?
[Modified 6 years ago]