com.evolution.player.ui
Class EvolutionPlayerUI

java.lang.Object
  extended by com.evolution.player.ui.EvolutionPlayerUI

public class EvolutionPlayerUI
extends java.lang.Object

This class provides access to system singletons and constants defined in the Evolution Player UI Layer.

Since:
0.4

Field Summary
static java.lang.String ALBUM_MENU_PATH
          Name of the album menu
static java.lang.String ARTIST_MENU_PATH
          Name of the artist menu
static java.lang.String CONTROL_MENU_PATH
          Name of the controls menu
static java.lang.String FILE_MENU_PATH
          Name of the file menu
static java.lang.String HELP_MENU_PATH
          Name of the help menu
static java.lang.String LIBRARY_MENU_PATH
          Name of the library menu
static java.lang.String SONG_MENU_PATH
          Name of the song menu
static java.lang.String VIEW_MENU_PATH
          Name of the views menu
 
Constructor Summary
EvolutionPlayerUI()
           
 
Method Summary
static IFilteredSelectionDialog<Album> createAlbumSelectionDialog(Shell shell, boolean multiSelect)
          Create a dialog which allows to select any known album.
static IFilteredSelectionDialog<Artist> createArtistSelectionDialog(Shell shell, boolean multiSelect)
          Create a dialog which allows to select any known artist.
static IFilteredSelectionDialog<LocalMediaInfo> createSongSelectionDialog(Shell shell, boolean multiSelect)
          Create a dialog which allows to select any known song.
static IAlbumArtworkCache getAlbumArtworkCache()
          An interface to the album artwork cache.
static IMusicPlayerController getMusicPlayerController()
          The music player controller to control the evolution player music player.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_MENU_PATH

public static final java.lang.String FILE_MENU_PATH
Name of the file menu


CONTROL_MENU_PATH

public static final java.lang.String CONTROL_MENU_PATH
Name of the controls menu

See Also:
Constant Field Values

ARTIST_MENU_PATH

public static final java.lang.String ARTIST_MENU_PATH
Name of the artist menu

See Also:
Constant Field Values

ALBUM_MENU_PATH

public static final java.lang.String ALBUM_MENU_PATH
Name of the album menu

See Also:
Constant Field Values

SONG_MENU_PATH

public static final java.lang.String SONG_MENU_PATH
Name of the song menu

See Also:
Constant Field Values

VIEW_MENU_PATH

public static final java.lang.String VIEW_MENU_PATH
Name of the views menu

See Also:
Constant Field Values

LIBRARY_MENU_PATH

public static final java.lang.String LIBRARY_MENU_PATH
Name of the library menu

See Also:
Constant Field Values

HELP_MENU_PATH

public static final java.lang.String HELP_MENU_PATH
Name of the help menu

Constructor Detail

EvolutionPlayerUI

public EvolutionPlayerUI()
Method Detail

getAlbumArtworkCache

public static IAlbumArtworkCache getAlbumArtworkCache()
An interface to the album artwork cache.

Returns:
an interface to the album artwork cache

getMusicPlayerController

public static IMusicPlayerController getMusicPlayerController()
The music player controller to control the evolution player music player.

Returns:
the music player controller

createArtistSelectionDialog

public static IFilteredSelectionDialog<Artist> createArtistSelectionDialog(Shell shell,
                                                                           boolean multiSelect)
Create a dialog which allows to select any known artist.

Parameters:
shell - the shell to parent the dialog on
multiSelect - true if the user can select more then one element, false otherwise
Returns:
the selection dialog

createAlbumSelectionDialog

public static IFilteredSelectionDialog<Album> createAlbumSelectionDialog(Shell shell,
                                                                         boolean multiSelect)
Create a dialog which allows to select any known album.

Parameters:
shell - the shell to parent the dialog on
multiSelect - true if the user can select more then one element, false otherwise
Returns:
the selection dialog

createSongSelectionDialog

public static IFilteredSelectionDialog<LocalMediaInfo> createSongSelectionDialog(Shell shell,
                                                                                 boolean multiSelect)
Create a dialog which allows to select any known song.

Parameters:
shell - the shell to parent the dialog on
multiSelect - true if the user can select more then one element, false otherwise
Returns:
the selection dialog