C# Class MediaPortal.Plugins.MovingPictures.MainUI.ImporterGUI

Inheritance: MediaPortal.GUI.Library.GUIWindow
Afficher le fichier Open project: damienhaynes/moving-pictures

Private Properties

Свойство Type Description
AddRangeToList void
AddToList void
ConnectToImporter void
DisplayContextDialog void
DisplayGlobalActionsMenu bool
DisplayMovieSelectionDialog bool
DisplaySearchDialog bool
GetListItem MediaPortal.GUI.Library.GUIListItem
ImporterProgress void
InitializeControls void
ListItemSelected void
MovieStatusChangedListener void
RemoveFromList void
UpdateArtwork void
VerifyImporterEnabled bool
VerifyParentalControls bool
VerifySkinSupport bool

Méthodes publiques

Méthode Description
Init ( ) : bool
OnAction ( MediaPortal.GUI.Library.Action action ) : void

Méthodes protégées

Méthode Description
OnClicked ( int controlId, GUIControl control, MediaPortal actionType ) : void
OnPageLoad ( ) : void
OnShowContextMenu ( ) : void

Private Methods

Méthode Description
AddRangeToList ( GUIListControl listControl, List listItems ) : void
AddToList ( GUIListItem listItem, FilterMode mode ) : void
ConnectToImporter ( ) : void

Grab current importer information and begin listening for updates.

DisplayContextDialog ( ) : void
DisplayGlobalActionsMenu ( ) : bool
DisplayMovieSelectionDialog ( ) : bool
DisplaySearchDialog ( MovieMatch selectedFile ) : bool
GetListItem ( MovieMatch match ) : GUIListItem
ImporterProgress ( int percentDone, int taskCount, int taskTotal, string taskDescription ) : void

Publish progress updates to the skin as they are received.

InitializeControls ( ) : void

Initializes and populates controls on the screen.

ListItemSelected ( GUIListItem item, GUIControl parent ) : void
MovieStatusChangedListener ( MovieMatch match, MovieImporterAction action ) : void

Receives updates about specific items in the importer and updates the UI accordingly.

RemoveFromList ( GUIListItem listItem, FilterMode mode ) : void
UpdateArtwork ( ) : void
VerifyImporterEnabled ( ) : bool

Check if the importer is meant to run in the GUI, if not let the user know. Backs out if the user keeps the importer off.

VerifyParentalControls ( ) : bool

If parental controls are enabled make sure the user is not up to no good.

VerifySkinSupport ( ) : bool

Checks that the current skin supports the importer. Backs out if it does not.

Method Details

Init() public méthode

public Init ( ) : bool
Résultat bool

OnAction() public méthode

public OnAction ( MediaPortal.GUI.Library.Action action ) : void
action MediaPortal.GUI.Library.Action
Résultat void

OnClicked() protected méthode

protected OnClicked ( int controlId, GUIControl control, MediaPortal actionType ) : void
controlId int
control MediaPortal.GUI.Library.GUIControl
actionType MediaPortal
Résultat void

OnPageLoad() protected méthode

protected OnPageLoad ( ) : void
Résultat void

OnShowContextMenu() protected méthode

protected OnShowContextMenu ( ) : void
Résultat void