C# Class CDP4SiteDirectory.ViewModels.DomainOfExpertiseBrowserViewModel

represents a view-model for the DomainOfExpertises in a SiteDirectory
Inheritance: BrowserViewModelBase, IPanelViewModel
Afficher le fichier Open project: RHEAGROUP/COMET-IME-Community-Edition Class Usage Examples

Méthodes publiques

Méthode Description
ComputePermission ( ) : void

Compute the permission for the commands

DomainOfExpertiseBrowserViewModel ( ISession session, siteDir, IThingDialogNavigationService thingDialogNavigationService, IPanelNavigationService panelNavigationService, IDialogNavigationService dialogNavigationService, IPluginSettingsService pluginSettingsService ) : System

Initializes a new instance of the DomainOfExpertiseBrowserViewModel class

PopulateContextMenu ( ) : void

Populate the context menu

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

InitializeCommands ( ) : void

Initialize the ReactiveCommands of the current view-model

ObjectChangeEventHandler ( ObjectChangedEvent objectChange ) : void

The ObjectChangedEvent event-handler

Private Methods

Méthode Description
AddDomainOfExpertise ( DomainOfExpertise domainOfExpertise ) : void

Add a new row that represents a DomainOfExpertise to the list of DomainOfExpertise.

ComputeDomains ( ) : void

computes the domain rows to add

RemoveDomainOfExpertise ( DomainOfExpertise domainOfExpertise ) : void

Remove a row representing a DomainOfExpertise

Method Details

ComputePermission() public méthode

Compute the permission for the commands
public ComputePermission ( ) : void
Résultat void

Dispose() protected méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
protected Dispose ( bool disposing ) : void
disposing bool /// a value indicating whether the class is being disposed of ///
Résultat void

DomainOfExpertiseBrowserViewModel() public méthode

Initializes a new instance of the DomainOfExpertiseBrowserViewModel class
public DomainOfExpertiseBrowserViewModel ( ISession session, siteDir, IThingDialogNavigationService thingDialogNavigationService, IPanelNavigationService panelNavigationService, IDialogNavigationService dialogNavigationService, IPluginSettingsService pluginSettingsService ) : System
session ISession The containing the given
siteDir The containing the data of this browser
thingDialogNavigationService IThingDialogNavigationService /// The that allows to navigate to dialog view models ///
panelNavigationService IPanelNavigationService The /// The that allows to navigate to Panels ///
dialogNavigationService IDialogNavigationService The
pluginSettingsService IPluginSettingsService /// The used to read and write plugin setting files. ///
Résultat System

InitializeCommands() protected méthode

Initialize the ReactiveCommands of the current view-model
protected InitializeCommands ( ) : void
Résultat void

ObjectChangeEventHandler() protected méthode

The ObjectChangedEvent event-handler
protected ObjectChangeEventHandler ( ObjectChangedEvent objectChange ) : void
objectChange ObjectChangedEvent The
Résultat void

PopulateContextMenu() public méthode

Populate the context menu
public PopulateContextMenu ( ) : void
Résultat void