Package org.jampa.gui.dialogs

Examples of org.jampa.gui.dialogs.PodcastItemPropertiesDialog


  private void openEditPropertiesDialog(IAudioItem item) {
    if (item != null) {
      if (item instanceof AudioItem) {
        new MetaDataDialog(_parent.getShell(), (AudioItem) item).open();
      } else if (item instanceof PodcastItem) {
        new PodcastItemPropertiesDialog(_parent.getShell(), (PodcastItem) item).open();
      } else if (item instanceof RadioItem) {
        new RadioItemPropertiesDialog(_parent.getShell(), (IRadioItem) item).open();
      }
    }
  }
View Full Code Here


      public void widgetSelected(SelectionEvent e) {
               
        ISelection selection = viewer.getSelection();
        Object obj = ((IStructuredSelection)selection).getFirstElement();
       
        new PodcastItemPropertiesDialog(parent.getShell(), (PodcastItem) obj).open();
      }
    });
   
    viewer.getTable().addListener(SWT.MenuDetect, new Listener() {
      public void handleEvent(Event event) {
View Full Code Here

TOP

Related Classes of org.jampa.gui.dialogs.PodcastItemPropertiesDialog

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.