package org.limewire.ui.swing.downloads.table; import com.google.inject.AbstractModule; import com.google.inject.assistedinject.FactoryProvider; public class LimeWireUiDownloadsTableModule extends AbstractModule { @Override protected void configure() { bind(DownloadTableFactory.class).toProvider( FactoryProvider.newFactory( DownloadTableFactory.class, DownloadTable.class)); bind(DownloadTableMenuFactory.class).toProvider( FactoryProvider.newFactory( DownloadTableMenuFactory.class, DownloadTableMenu.class)); bind(DownloadPopupHandlerFactory.class).toProvider( FactoryProvider.newFactory( DownloadPopupHandlerFactory.class, DownloadPopupHandler.class)); } }