Package org.jampa.gui.dialogs

Examples of org.jampa.gui.dialogs.RadioItemPropertiesDialog


      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


    propertiesItem.setText(Messages.getString("RadioView.Properties")); //$NON-NLS-1$
    propertiesItem.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent e) {
        Object selection = ((IStructuredSelection) treeViewer.getSelection()).getFirstElement();
       
        new RadioItemPropertiesDialog(parent.getShell(), (IRadioItem) selection).open();
      }
    });
   
    treeViewer.getTree().addListener(SWT.MenuDetect, new Listener() {
      public void handleEvent(Event event) {
View Full Code Here

TOP

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

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.