protected override void RegisterExampleCommands(WorkstationContainer viewerContainer) { WorkstationUIFactory.Instance.RegisterWorkstationView <IActionsEditorView> (typeof(ActionsEditorDialog)); ModelViewPresenterCommand <ActionsEditorViewPresenter, IActionsEditorView> cmd; cmd = new ModelViewPresenterCommand <ActionsEditorViewPresenter, IActionsEditorView> (CustomWorkstationFeatures.ShowCustomizeActionsViewFeatureId, viewerContainer); viewerContainer.FeaturesFactory.RegisterCommand(cmd); }
protected override void RegisterExampleCommands(WorkstationContainer viewerContainer) { ModelViewPresenterCommand <WorkstastionFeaturesEventsPresenter, IWorkstastionFeaturesEventsView> cmd; WorkstationUIFactory.Instance.RegisterWorkstationView <IWorkstastionFeaturesEventsView> (typeof(WorkstastionFeaturesEventsView)); cmd = new ModelViewPresenterCommand <WorkstastionFeaturesEventsPresenter, IWorkstastionFeaturesEventsView> (CustomWorkstationFeatures.FeaturesEventsViewFeatureId, viewerContainer); viewerContainer.FeaturesFactory.RegisterCommand(cmd); }