Moving dockables between DockingController's

Hi Beni,

I have a situation where I may need to dock some components, such that one of the components will have some sub-components docked within it.

I am thinking of implementing this using two DockingController instances. One for the main window and another for the internal component which has it’s own docked components.

Is this possible?

If it is possible, then is there some way for the user to drag one of the sub-components (which is docked in the internal component) and pull it to the outer window so that it get’s docked there. So, is it possible to transfer a docked component from one DockingController to another DockingController?


Thanks
Parag

While it is possible to use two DockControllers (all the demo-applications work this way), the framework does not support transfer of a Dockable from one controller to another.

Are you certain you need two controllers? Using the accept-methods of Dockable and DockStation, or a DockAcceptance, you might give the user the illusion of two separate realms for the Dockables. The framework does not forbid Dockable/DockStations to be nested (a few months ago someone tried this, it did not work correctly back then, but in the current version the bug that caused problems should be fixed). Although I admit, this will be more tricky if you use Common.