Hi,
I have a docksite with toolwindows and documents inside. and my layout changes every time someone selects a different document (selected tab changes),what I want to accomplish is to bing each selected document with it's correspondent toolwindow layout setup and when selected restore it from previous state.
I understand that I need to store some kind of a HashTable with key being a doc and value being some arbitrary layout object, I'm just not sure what this object should be and how to save it upon deselection and restoring upon selection
Would you kindly steer me in the right direction of accomplishing that?
Thank you!