/** * Creates a new {@link AsideRequest} which is used to examine the next child {@link DockStation}. * @param location the location on the child station * @return the new aside request, must not be <code>null</code> nor <code>this</code> */ protected DefaultAsideRequest createForwardRequest( DockableProperty location ){ return new DefaultAsideRequest( location, getPlaceholder() ); }
/** * Creates a new {@link AsideRequest} which is used to examine the next child {@link DockStation}. * @param location the location on the child station * @return the new aside request, must not be <code>null</code> nor <code>this</code> */ protected DefaultAsideRequest createForwardRequest( DockableProperty location ){ return new DefaultAsideRequest( location, getPlaceholder() ); }
public AsideRequest createAsideRequest( DockableProperty location, Dockable dockable ){ Path placeholder = null; PlaceholderStrategy strategy = properties.get( PlaceholderStrategy.PLACEHOLDER_STRATEGY ); if( strategy != null ){ placeholder = strategy.getPlaceholderFor( dockable ); } return new DefaultAsideRequest( location, placeholder ); } }
public AsideRequest createAsideRequest( DockableProperty location, Dockable dockable ){ Path placeholder = null; PlaceholderStrategy strategy = properties.get( PlaceholderStrategy.PLACEHOLDER_STRATEGY ); if( strategy != null ){ placeholder = strategy.getPlaceholderFor( dockable ); } return new DefaultAsideRequest( location, placeholder ); } }