DownloadManager dm = pluginInterface.getDownloadManager();
//final TorrentAttribute ta = pluginInterface.getTorrentManager().getAttribute(TorrentAttribute.TA_CATEGORY);
dm.addListener(
new DownloadManagerListener()
{
public void downloadAdded(Download dl) {
if (!dl.isComplete()) //add only if the download isn't already complete
dl.addListener(AzCatDestDownloadListener.getInstance()); //attach DownloadListener
}