public WindowConfiguration getConfiguration( ScreenDockStation station, Dockable dockable ){ for( ScreenDockWindowConfiguration extension : extensions ){ WindowConfiguration result = extension.getConfiguration( station, dockable ); if( result != null ){ return result; } } return null; } }
public WindowConfiguration getConfiguration( ScreenDockStation station, Dockable dockable ){ for( ScreenDockWindowConfiguration extension : extensions ){ WindowConfiguration result = extension.getConfiguration( station, dockable ); if( result != null ){ return result; } } return null; } }
/** * Gets the {@link WindowConfiguration} which should be used to create a new {@link ScreenDockWindow} * for <code>dockable</code>. * @param dockable the element that is going to be shown * @return its configuration, not <code>null</code> */ protected WindowConfiguration getConfiguration( Dockable dockable ){ WindowConfiguration result = windowConfiguration.getValue().getConfiguration( this, dockable ); if( result == null ){ result = new WindowConfiguration(); } return result; }