C# Class ACAT.Lib.Core.PanelManagement.PreferredPanelConfig

Stores a mapping between preferred config names and the scanners If a scanner has multiple animation config files, this allows for selecting a preferred config file from the list.
Show file Open project: brlima94/acat-localization

Public Methods

Method Description
GetConfigName ( String panelClass ) : String

Looks up the map table and returns the name of the configuration for the specified scanner

Load ( ) : bool

Parses the preferred panel config file name, populates the map table

PreferredPanelConfig ( ) : System

Initializes a new instance of the class.

Private Methods

Method Description
loadConfig ( XmlNode node ) : String>.Dictionary

Loads the configuration from the specified xml node by parsing the attributes contained in the node. Returns the mapping between the panel configuration name and the panel type it maps to

loadPreferredPanelConfig ( String file ) : bool

Parses the preferred panel config file name, populates the map table

Method Details

GetConfigName() public method

Looks up the map table and returns the name of the configuration for the specified scanner
public GetConfigName ( String panelClass ) : String
panelClass String scanner
return String

Load() public method

Parses the preferred panel config file name, populates the map table
public Load ( ) : bool
return bool

PreferredPanelConfig() public method

Initializes a new instance of the class.
public PreferredPanelConfig ( ) : System
return System