/** * Searches the {@link ActionOffer} for <code>dockable</code>. * @param dockable the element whose offer is searched * @return the offer */ public ActionOffer getActionOffer( Dockable dockable ){ for( ActionOffer offer : actionOffers ){ if( offer.interested( dockable )) return offer; } return getDefaultActionOffer(); }