Package org.jampa.gui.actions.playlist

Examples of org.jampa.gui.actions.playlist.OpenAndPlayPlaylistAction


        ISelection selection = viewer.getSelection();
        Object obj = ((IStructuredSelection)selection).getFirstElement();
        if (obj != null) {
          String param = Controller.getInstance().getPreferenceStore().getString(PreferenceConstants.PLAYLISTSVIEW_DOUBLECLICK_ACTION);
          if (param.equals("2")) { //$NON-NLS-1$
            new OpenAndPlayPlaylistAction(((Playlist) obj).getName()).run();
          } else if (param.equals("1")) { //$NON-NLS-1$
            new PlayPlaylistAction(((Playlist) obj).getName()).run();
          } else {
            new OpenPlaylistAction(((Playlist) obj).getName()).run();
          }
View Full Code Here

TOP

Related Classes of org.jampa.gui.actions.playlist.OpenAndPlayPlaylistAction

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.