C# Class Zetbox.Client.Presentables.GUI.SavedListConfiguratorViewModel

Inheritance: Zetbox.Client.Presentables.ViewModel
Afficher le fichier Open project: daszat/zetbox Class Usage Examples

Méthodes publiques

Méthode Description
Delete ( ) : void
Delete ( SavedListConfigViewModel itemToDelete ) : void
Rename ( ) : void
Rename ( SavedListConfigViewModel itemToRename ) : void
Reset ( ) : void
Save ( ) : void
SaveAs ( ) : void
SavedListConfiguratorViewModel ( IViewModelDependencies appCtx, IZetboxContext dataCtx, InstanceListViewModel parent ) : System

Méthodes protégées

Méthode Description
CreateCommands ( ) : ObservableCollection
ExtractConfigurationObject ( SavedListConfiguration config ) : Zetbox.API.Common.GUI.SavedListConfigurationList
ExtractItem ( string name, Zetbox.API.Common.GUI.SavedListConfigurationList obj ) : Zetbox.API.Common.GUI.SavedListConfig
ExtractUntypedValue ( object val ) : object
OnGetColumnInformation ( ) : List
RemoveViewModel ( string name ) : void
ResolveUntypedValue ( object val, IValueModel mdl ) : object
UpdateViewModel ( string name, Zetbox.API.Common.GUI.SavedListConfig item ) : void

Private Methods

Méthode Description
EnsureConfigsTask ( ) : PropertyTask>
GetSavedConfig ( IZetboxContext ctx ) : SavedListConfiguration
Load ( ) : void
Save ( string name ) : void

Method Details

CreateCommands() protected méthode

protected CreateCommands ( ) : ObservableCollection
Résultat ObservableCollection

Delete() public méthode

public Delete ( ) : void
Résultat void

Delete() public méthode

public Delete ( SavedListConfigViewModel itemToDelete ) : void
itemToDelete SavedListConfigViewModel
Résultat void

ExtractConfigurationObject() protected méthode

protected ExtractConfigurationObject ( SavedListConfiguration config ) : Zetbox.API.Common.GUI.SavedListConfigurationList
config SavedListConfiguration
Résultat Zetbox.API.Common.GUI.SavedListConfigurationList

ExtractItem() protected méthode

protected ExtractItem ( string name, Zetbox.API.Common.GUI.SavedListConfigurationList obj ) : Zetbox.API.Common.GUI.SavedListConfig
name string
obj Zetbox.API.Common.GUI.SavedListConfigurationList
Résultat Zetbox.API.Common.GUI.SavedListConfig

ExtractUntypedValue() protected méthode

protected ExtractUntypedValue ( object val ) : object
val object
Résultat object

OnGetColumnInformation() protected méthode

protected OnGetColumnInformation ( ) : List
Résultat List

RemoveViewModel() protected méthode

protected RemoveViewModel ( string name ) : void
name string
Résultat void

Rename() public méthode

public Rename ( ) : void
Résultat void

Rename() public méthode

public Rename ( SavedListConfigViewModel itemToRename ) : void
itemToRename SavedListConfigViewModel
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

ResolveUntypedValue() protected méthode

protected ResolveUntypedValue ( object val, IValueModel mdl ) : object
val object
mdl IValueModel
Résultat object

Save() public méthode

public Save ( ) : void
Résultat void

SaveAs() public méthode

public SaveAs ( ) : void
Résultat void

SavedListConfiguratorViewModel() public méthode

public SavedListConfiguratorViewModel ( IViewModelDependencies appCtx, IZetboxContext dataCtx, InstanceListViewModel parent ) : System
appCtx IViewModelDependencies
dataCtx IZetboxContext
parent Zetbox.Client.Presentables.ZetboxBase.InstanceListViewModel
Résultat System

UpdateViewModel() protected méthode

protected UpdateViewModel ( string name, Zetbox.API.Common.GUI.SavedListConfig item ) : void
name string
item Zetbox.API.Common.GUI.SavedListConfig
Résultat void