public MultipleCDockable findMatch( DockLayout<?> layout ){
String factoryId = layout.getFactoryID();
Object data = layout.getData();
if( data instanceof CommonMultipleDockableLayout ){
MultipleCDockableLayout multipleLayout = ((CommonMultipleDockableLayout) data).getLayout();
MultipleCDockableFactory<MultipleCDockable, MultipleCDockableLayout> factory = (MultipleCDockableFactory<MultipleCDockable, MultipleCDockableLayout>) factories.get( factoryId );
if( factory != null ){
List<MultipleCDockable> list = remainingDockables.get( factoryId );
if( list != null ){
Iterator<MultipleCDockable> iterator = list.iterator();