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
Show file Open project: azavea/acs-alchemist Class Usage Examples

Protected Properties

Property Type Description
_availableLevels List
_availableProjections List
_availableStates List
_availableYears List

Protected Methods

Method 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

Method 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 method

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

ShowCopyrightAndLicense() protected method

protected ShowCopyrightAndLicense ( ) : void
return void

ShowWelcomeScreen() protected method

protected ShowWelcomeScreen ( ) : void
return void

Property Details

_availableLevels protected property

protected List _availableLevels
return List

_availableProjections protected property

protected List _availableProjections
return List

_availableStates protected property

protected List _availableStates
return List

_availableYears protected property

protected List _availableYears
return List