C# Class Azavea.NijPredictivePolicing.AcsAlchemistGui.FormController

This class is meant to act as our interface between the GUI and the rest of the importer logic
Afficher le fichier Open project: azavea/acs-alchemist Class Usage Examples

Protected Properties

Свойство Type Description
_availableLevels List
_availableProjections List
_availableStates List
_availableYears List

Méthodes protégées

Méthode Description
LoadConfigFile ( ) : void

Searches for our config file in the application path, if it can't find it, just uses defaults

ShowCopyrightAndLicense ( ) : void
ShowWelcomeScreen ( ) : void

Private Methods

Méthode Description
FormController ( ) : System
InitLogging ( IAppender appenderObj ) : void
Initialize ( ) : void

Run initialization sequence (logging, load config, welcome, copyright, license, create job instance)

LoadNewJobInstance ( string filename ) : void

replaces our current job instance with a new one loaded from a saved file

NewDefaultJobInstance ( ) : void

There is no structure ensuring these defaults are the same that will show up when the form loads, This function is meant to reflect whatever the form defaults are.

ValidateVariablesFile ( string filename, string &errorMessage ) : bool

Performs some sanity checks on our variables file (does it exist, can I read it, does it have at least one variable, etc.)

Method Details

LoadConfigFile() protected méthode

Searches for our config file in the application path, if it can't find it, just uses defaults
protected LoadConfigFile ( ) : void
Résultat void

ShowCopyrightAndLicense() protected méthode

protected ShowCopyrightAndLicense ( ) : void
Résultat void

ShowWelcomeScreen() protected méthode

protected ShowWelcomeScreen ( ) : void
Résultat void

Property Details

_availableLevels protected_oe property

protected List _availableLevels
Résultat List

_availableProjections protected_oe property

protected List _availableProjections
Résultat List

_availableStates protected_oe property

protected List _availableStates
Résultat List

_availableYears protected_oe property

protected List _availableYears
Résultat List