A ‘How to’ question on perspectives. How do I dynamically add a newly created SingleCDockablePerspective after the application launch is complete, and doing so without disturbing any of the existing docakbles /perspective locations?
The idea is that once the application is up and running, the user has the option to load a new custom module that requires a new dockable and perspective to be created and installed inside a target CPerspective. Also, the user has the option to remove this module and therefore its associated dockable /perspective from the target CPerspective at a later time. Both these activities need to be achieved without disturbing the status quo within DF.
The ‘Perspectives (History)’ example under ‘Examples from the guide’ of Common API in the Tutorials is an excellent example and very similar to my current approach. All works well when my application fires up, but when I later add a new dockable along with its new perspective using similar concepts to the mentioned example, the dockable does show up correctly inside its target CPerspective, but some of the other existing dockables now change form ‘normalized’ to their ‘minimized’ locations. The second observation is that the same new dockable /perspective also shows up inside another different CPerspective when it should not.
I am very close to what I need to achieve, so any advice would be greatly appreciated. Thank you.