restore

fun restore(layout: DockLayout)(source)

Arranges the panels as layout has them, found by their titles; panels that it does not have are added to the last group, and the panels that it has in windows of their own go there once the dock is in a control manager. The closable panels that it has closed are closed, and open again where they were added.