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

Inheritance: Zetbox.Client.Presentables.ViewModel
Mostra file Open project: daszat/zetbox Class Usage Examples

Public Methods

Method 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

Protected Methods

Method 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

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

Method Details

CreateCommands() protected method

protected CreateCommands ( ) : ObservableCollection
return ObservableCollection

Delete() public method

public Delete ( ) : void
return void

Delete() public method

public Delete ( SavedListConfigViewModel itemToDelete ) : void
itemToDelete SavedListConfigViewModel
return void

ExtractConfigurationObject() protected method

protected ExtractConfigurationObject ( SavedListConfiguration config ) : Zetbox.API.Common.GUI.SavedListConfigurationList
config SavedListConfiguration
return Zetbox.API.Common.GUI.SavedListConfigurationList

ExtractItem() protected method

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

ExtractUntypedValue() protected method

protected ExtractUntypedValue ( object val ) : object
val object
return object

OnGetColumnInformation() protected method

protected OnGetColumnInformation ( ) : List
return List

RemoveViewModel() protected method

protected RemoveViewModel ( string name ) : void
name string
return void

Rename() public method

public Rename ( ) : void
return void

Rename() public method

public Rename ( SavedListConfigViewModel itemToRename ) : void
itemToRename SavedListConfigViewModel
return void

Reset() public method

public Reset ( ) : void
return void

ResolveUntypedValue() protected method

protected ResolveUntypedValue ( object val, IValueModel mdl ) : object
val object
mdl IValueModel
return object

Save() public method

public Save ( ) : void
return void

SaveAs() public method

public SaveAs ( ) : void
return void

SavedListConfiguratorViewModel() public method

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

UpdateViewModel() protected method

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