public D layout( BackupFactoryData<L> layout, Map<Integer, Dockable> children, PlaceholderStrategy placeholders ) { D element = factory.layout( layout.getData(), children, placeholders ); if( element != null ){ String id = layout.getIdentifier(); if( id.startsWith( "dockable" )){ id = id.substring( "dockable".length() ); if( frontend.getDockable( id ) == null ){ frontend.addDockable( id, element ); } } } return element; }
public D layout( BackupFactoryData<L> layout, PlaceholderStrategy placeholders ) { D element = factory.layout( layout.getData(), placeholders ); if( element != null ){ String id = layout.getIdentifier(); if( id.startsWith( "dockable" )){ id = id.substring( "dockable".length() ); if( frontend.getDockable( id ) == null ){ frontend.addDockable( id, element ); } } } return element; }
public D layout( BackupFactoryData<L> layout, Map<Integer, Dockable> children, PlaceholderStrategy placeholders ) { D element = factory.layout( layout.getData(), children, placeholders ); if( element != null ){ String id = layout.getIdentifier(); if( id.startsWith( "dockable" )){ id = id.substring( "dockable".length() ); if( frontend.getDockable( id ) == null ){ frontend.addDockable( id, element ); } } } return element; }
public D layout( BackupFactoryData<L> layout, PlaceholderStrategy placeholders ) { D element = factory.layout( layout.getData(), placeholders ); if( element != null ){ String id = layout.getIdentifier(); if( id.startsWith( "dockable" )){ id = id.substring( "dockable".length() ); if( frontend.getDockable( id ) == null ){ frontend.addDockable( id, element ); } } } return element; }