Package org.jampa.gui.actions.podcast

Examples of org.jampa.gui.actions.podcast.PlayPodcastAction


    playItem.setImage(_playImage);
    playItem.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent e) {
        ISelection selection = viewer.getSelection();
        Object obj = ((IStructuredSelection)selection).getFirstElement();
        new PlayPodcastAction(((Podcast) obj).getName()).run();
      }
    });
   
    MenuItem openItem = new MenuItem(_viewMenu, SWT.PUSH);
    openItem.setText(Messages.getString("PodcastListView.MenuOpen")); //$NON-NLS-1$
View Full Code Here


        podcastMenuItem.setText(podcastItem.getName() + " - " + podcastItem.getTitle());
        podcastMenuItem.setData(podcastItem);
       
        podcastMenuItem.addSelectionListener(new SelectionAdapter() {
          public void widgetSelected(SelectionEvent e) {
            new PlayPodcastAction(((Podcast) podcastMenuItem.getData()).getName()).run();
          }
        });
      }
    }
   
View Full Code Here

TOP

Related Classes of org.jampa.gui.actions.podcast.PlayPodcastAction

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.