Package com.aelitis.azureus.ui.selectedcontent

Examples of com.aelitis.azureus.ui.selectedcontent.ISelectedContent


        return PluginCoreUtils.unwrap((DiskManagerFileInfo) ds);
      } else if (ds instanceof org.gudy.azureus2.core3.disk.DiskManagerFileInfo) {
        return (org.gudy.azureus2.core3.disk.DiskManagerFileInfo) ds;
      } else if ((ds instanceof ISelectedContent)
          && ((ISelectedContent) ds).getFileIndex() >= 0) {
        ISelectedContent sc = (ISelectedContent) ds;
        int idx = sc.getFileIndex();
        DownloadManager dm = sc.getDownloadManager();
        return dm.getDiskManagerFileInfoSet().getFiles()[idx];
      } else if (ds instanceof TranscodeJob) {
        TranscodeJob tj = (TranscodeJob) ds;
        try {
          return PluginCoreUtils.unwrap(tj.getFile());
View Full Code Here


    Object[] selectedDataSources = view.getSelectedDataSources(true);
    for (int i = 0; i < selectedDataSources.length; i++) {

      VuzeActivitiesEntry ds = (VuzeActivitiesEntry) selectedDataSources[i];
      if (ds != null) {
        ISelectedContent currentContent;
        try {
          currentContent = ds.createSelectedContentObject();
          if (currentContent != null) {
            listContent.add(currentContent);
          }
View Full Code Here

TOP

Related Classes of com.aelitis.azureus.ui.selectedcontent.ISelectedContent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.