Package org.jampa.gui.actions.podcast

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


      viewer.addDoubleClickListener(new IDoubleClickListener() {
        public void doubleClick(DoubleClickEvent event) {
          ISelection selection = viewer.getSelection();
          Object obj = ((IStructuredSelection)selection).getFirstElement();
          if (obj != null) {
            new OpenPodcastAction(((Podcast) obj).getName()).run();         
          }
        }
      });
     
      buildActions();
View Full Code Here


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

TOP

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

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.