Package org.jampa.net.podcast

Examples of org.jampa.net.podcast.PodcastUpdaterJob


    if (!_initialUrl.equals(teUrl.getText())) {
      _item.setUrl(teUrl.getText());
     
      List<Podcast> tmpList = new ArrayList<Podcast>();
      tmpList.add(_item);
      new PodcastUpdaterJob(tmpList).schedule();
    }
  }
View Full Code Here


   
    /**
     * Update podcasts if required.
     */
    if (getPreferenceStore().getBoolean(PreferenceConstants.PODCAST_UPDATE_AT_STARTUP)) {
      new PodcastUpdaterJob(getPlaylistController().getPodcastListAsList()).schedule();
    }
   
    /**
     * Launch podcast updater if required.
     */
 
View Full Code Here

        Iterator<?> iter = ((IStructuredSelection)selection).iterator();
        while (iter.hasNext()) {
          tmpList.add((Podcast) iter.next());
        }       
        //new PodcastDownloaderThread(tmpList).start();
        new PodcastUpdaterJob(tmpList).schedule();
      }
    });
   
    new MenuItem(_viewMenu, SWT.SEPARATOR);
   
View Full Code Here

   
    _refreshPodcast = new Action(Messages.getString("PodcastListView.RefreshPodcast")) { //$NON-NLS-1$
      public void run() {
        Log.getInstance(PodcastListView.class).debug("Refreshing podcasts.");
        //new PodcastDownloaderThread(Controller.getInstance().getPlaylistController().getPodcastListAsList()).start();
        new PodcastUpdaterJob(Controller.getInstance().getPlaylistController().getPodcastListAsList()).schedule();
      }
    };
    _refreshPodcast.setImageDescriptor(Activator.getImageDescriptor("/icons/refresh_podcast_16.png"));
   
    // Toolbar   
View Full Code Here

    _refreshAction = new Action(Messages.getString("PodcastView.Refresh")) { //$NON-NLS-1$
      public void run() {
       
        List<Podcast> tmpList = new ArrayList<Podcast>();
        tmpList.add(_thePodcast);
        new PodcastUpdaterJob(tmpList).schedule();               
      }
    };
    _refreshAction.setImageDescriptor(Activator.getImageDescriptor("/icons/refresh_podcast_16.png"));
   
    // Toolbar   
View Full Code Here

TOP

Related Classes of org.jampa.net.podcast.PodcastUpdaterJob

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.