layoutPerspective( stack, layout, children );
return stack;
}
});
CommonDockStationFactory stationFactory = new CommonDockStationFactory( this, null, backupFactory );
frontend.registerFactory( stationFactory );
// when creating new DockStations, the factory only creates DockStations that implement Dockable. Altough
// the factory can layout DockStations of any kind.
frontend.registerBackupFactory( (DockFactory)stationFactory );