C# Class OnlineVideos.MediaPortal2.OnlineVideosWorkflowModel

Inheritance: IWorkflowModel
Mostra file Open project: offbyoneBB/mp-onlinevideos2

Protected Properties

Property Type Description
_messageQueue MediaPortal.Common.Messaging.AsynchronousMessageQueue
_searchStringProperty MediaPortal.Common.General.AbstractProperty

Public Methods

Method Description
BuildAutomaticSitesGroups ( ) : void
BuildSitesList ( ) : void
CanEnterState ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : bool
ChangeModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext, bool push ) : void
Deactivate ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
EnterModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
ExitModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
OnlineVideosMessageReceived ( MediaPortal.Common.Messaging.AsynchronousMessageQueue queue, MediaPortal.Common.Messaging.SystemMessage message ) : void
OnlineVideosWorkflowModel ( ) : MediaPortal.Common
PushNavigationToOnlineVideosRoot ( ) : void
Reactivate ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
RebuildSitesList ( ) : void
SelectCategory ( CategoryViewModel categoryModel ) : void
SelectDetailsVideo ( VideoViewModel videoModel ) : void
SelectSite ( SiteViewModel siteModel ) : void
SelectSiteGroup ( SiteGroupViewModel siteGroupModel ) : void
SelectVideo ( VideoViewModel videoModel ) : void
ShowCategories ( IList categories, string navigationLabel ) : void
ShowDetails ( List choices ) : void
ShowVideos ( CategoryViewModel category, List videos ) : void
StartSearch ( ) : void
UpdateMenuActions ( MediaPortal.UI.Presentation.Workflow.NavigationContext context, WorkflowAction>.IDictionary actions ) : void
UpdateScreen ( MediaPortal.UI.Presentation.Workflow.NavigationContext context, string &screen ) : ScreenUpdateMode

Private Methods

Method Description
ShowSearchResults ( List result, string title ) : void

Method Details

BuildAutomaticSitesGroups() public method

public BuildAutomaticSitesGroups ( ) : void
return void

BuildSitesList() public method

public BuildSitesList ( ) : void
return void

CanEnterState() public method

public CanEnterState ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : bool
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
return bool

ChangeModelContext() public method

public ChangeModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext, bool push ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
push bool
return void

Deactivate() public method

public Deactivate ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
return void

EnterModelContext() public method

public EnterModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
return void

ExitModelContext() public method

public ExitModelContext ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
return void

OnlineVideosMessageReceived() public method

public OnlineVideosMessageReceived ( MediaPortal.Common.Messaging.AsynchronousMessageQueue queue, MediaPortal.Common.Messaging.SystemMessage message ) : void
queue MediaPortal.Common.Messaging.AsynchronousMessageQueue
message MediaPortal.Common.Messaging.SystemMessage
return void

OnlineVideosWorkflowModel() public method

public OnlineVideosWorkflowModel ( ) : MediaPortal.Common
return MediaPortal.Common

PushNavigationToOnlineVideosRoot() public method

public PushNavigationToOnlineVideosRoot ( ) : void
return void

Reactivate() public method

public Reactivate ( MediaPortal.UI.Presentation.Workflow.NavigationContext oldContext, MediaPortal.UI.Presentation.Workflow.NavigationContext newContext ) : void
oldContext MediaPortal.UI.Presentation.Workflow.NavigationContext
newContext MediaPortal.UI.Presentation.Workflow.NavigationContext
return void

RebuildSitesList() public method

public RebuildSitesList ( ) : void
return void

SelectCategory() public method

public SelectCategory ( CategoryViewModel categoryModel ) : void
categoryModel CategoryViewModel
return void

SelectDetailsVideo() public method

public SelectDetailsVideo ( VideoViewModel videoModel ) : void
videoModel VideoViewModel
return void

SelectSite() public method

public SelectSite ( SiteViewModel siteModel ) : void
siteModel SiteViewModel
return void

SelectSiteGroup() public method

public SelectSiteGroup ( SiteGroupViewModel siteGroupModel ) : void
siteGroupModel SiteGroupViewModel
return void

SelectVideo() public method

public SelectVideo ( VideoViewModel videoModel ) : void
videoModel VideoViewModel
return void

ShowCategories() public method

public ShowCategories ( IList categories, string navigationLabel ) : void
categories IList
navigationLabel string
return void

ShowDetails() public method

public ShowDetails ( List choices ) : void
choices List
return void

ShowVideos() public method

public ShowVideos ( CategoryViewModel category, List videos ) : void
category CategoryViewModel
videos List
return void

StartSearch() public method

public StartSearch ( ) : void
return void

UpdateMenuActions() public method

public UpdateMenuActions ( MediaPortal.UI.Presentation.Workflow.NavigationContext context, WorkflowAction>.IDictionary actions ) : void
context MediaPortal.UI.Presentation.Workflow.NavigationContext
actions WorkflowAction>.IDictionary
return void

UpdateScreen() public method

public UpdateScreen ( MediaPortal.UI.Presentation.Workflow.NavigationContext context, string &screen ) : ScreenUpdateMode
context MediaPortal.UI.Presentation.Workflow.NavigationContext
screen string
return ScreenUpdateMode

Property Details

_messageQueue protected_oe property

protected AsynchronousMessageQueue,MediaPortal.Common.Messaging _messageQueue
return MediaPortal.Common.Messaging.AsynchronousMessageQueue

_searchStringProperty protected_oe property

protected AbstractProperty,MediaPortal.Common.General _searchStringProperty
return MediaPortal.Common.General.AbstractProperty