@Override public <N> N submit( SplitTreeFactory<N> factory ){ PlaceholderMap map = getPlaceholderMap(); if( map == null ){ Dockable dockable = getDockable(); if( dockable != null ){ DockStation station = dockable.asDockStation(); if( station != null ){ map = station.getPlaceholders(); } } } return factory.leaf( getDockable(), getId(), getPlaceholders(), map ); }