Package org.jampa.gui.runnables

Examples of org.jampa.gui.runnables.PlaylistChecker


 
 
  public HashMap<AudioItem, String> doCheckPlaylists() {
    Log.getInstance(Controller.class).info("Start checking playlists."); //$NON-NLS-1$
   
    PlaylistChecker playlistChecker = new PlaylistChecker();
    ProgressMonitorDialog dialog = new ProgressMonitorDialog(Display.getDefault().getActiveShell());             
   
    try {
      dialog.run(true, true, playlistChecker);
    } catch (InvocationTargetException e) {
      Log.getInstance(Controller.class).error(e.getMessage());
    } catch (InterruptedException e) {
      Log.getInstance(Controller.class).error(e.getMessage());     
    }
   
    Controller.getInstance().getEventController().fireAudioItemChange(EventConstants.EVT_ITEM_CHANGE_IN_PLAYLIST, null, null);
   
    Log.getInstance(PlaylistController.class).info("End of playlists check."); //$NON-NLS-1$
    return playlistChecker.getResults();
  }
View Full Code Here

TOP

Related Classes of org.jampa.gui.runnables.PlaylistChecker

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.