Gorgon
Show / Hide Table of Contents

Class EditorViewModelBase<T>

Common functionality for the an editor view model.

Inheritance
object
PropertyMonitor
ViewModelBase<T, IHostServices>
EditorViewModelBase<T>
Implements
IViewModel
INotifyPropertyChanged
INotifyPropertyChanging
Inherited Members
ViewModelBase<T, IHostServices>.WaitPanelActivated
ViewModelBase<T, IHostServices>.WaitPanelDeactivated
ViewModelBase<T, IHostServices>.ProgressUpdated
ViewModelBase<T, IHostServices>.ProgressDeactivated
ViewModelBase<T, IHostServices>.HostServices
ViewModelBase<T, IHostServices>.UpdateProgress(string, float, string, Action)
ViewModelBase<T, IHostServices>.UpdateProgress(ProgressPanelUpdateArgs)
ViewModelBase<T, IHostServices>.UpdateMarequeeProgress(string, string, Action)
ViewModelBase<T, IHostServices>.HideProgress()
ViewModelBase<T, IHostServices>.ShowWaitPanel(WaitPanelActivateArgs)
ViewModelBase<T, IHostServices>.ShowWaitPanel(string, string)
ViewModelBase<T, IHostServices>.HideWaitPanel()
ViewModelBase<T, IHostServices>.OnInitialize(T)
ViewModelBase<T, IHostServices>.OnLoad()
ViewModelBase<T, IHostServices>.OnUnload()
ViewModelBase<T, IHostServices>.Load()
ViewModelBase<T, IHostServices>.Unload()
ViewModelBase<T, IHostServices>.Initialize(T)
PropertyMonitor.PropertyChanged
PropertyMonitor.PropertyChanging
PropertyMonitor.UsePropertyNameValidation
PropertyMonitor.OnPropertyChanging(string)
PropertyMonitor.OnPropertyChanged(string)
PropertyMonitor.NotifyPropertyChanged(string)
PropertyMonitor.NotifyPropertyChanging(string)
PropertyMonitor.NotifyAllPropertiesChanging()
PropertyMonitor.NotifyAllPropertiesChanged()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Editor.UI
Assembly: Gorgon.Editor.API.dll
Syntax
public abstract class EditorViewModelBase<T> : ViewModelBase<T, IHostServices>, IViewModel, INotifyPropertyChanged, INotifyPropertyChanging where T : class, IViewModelInjection<IHostServices>
Type Parameters
Name Description
T

The type of dependency injection object. Must be a class, and implement IViewModelInjection<T>.

Remarks

Developers can use this to implement basic view models for various UI elements. This type provides basic common functionality for custom views so developers can have more freedom when implementing their own views. For more complete common content functionality, there are several base view model types that wrap up common functionality. For example, when developing a content editor plug in developers should use the ContentEditorViewModelBase<T> as a base view model type.

Implements

IViewModel
INotifyPropertyChanged
INotifyPropertyChanging

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)

See Also

ContentEditorViewModelBase<T>
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author