예제 #1
0
        public ProjectManager([Import] Core.Events.IEventManager eventMgr)
        {
            this.eventMgr = eventMgr;

            this.curProjectPath = "";
            this.resultSets     = new Dictionary <string, Tuple <string, IResultSetLoader> >();

            this.eventMgr.AddListener(this);
        }
예제 #2
0
        public RunModel([Import] Core.Events.IEventManager eventMgr)
        {
            this.eventMgr = eventMgr;

            IsChecked        = false;
            IsMapInteractive = false;
            CheckOnClick     = false;

            this.eventMgr.AddListener(this);
        }
예제 #3
0
        public ResultManagerForm([Import] Core.Events.IEventManager eventMgr)
        {
            InitializeComponent();

            this.eventMgr = eventMgr;

            this.currentResultSet = null;

            this.eventMgr.AddListener(this);
        }
예제 #4
0
        public ChannelProperties([Import] Core.Events.IEventManager eventMgr)
        {
            this.eventMgr = eventMgr;

            InitializeComponent();

            IsChecked        = false;
            IsMapInteractive = false;
            CheckOnClick     = false;

            this.eventMgr.AddListener(this);
        }
예제 #5
0
        public LayerDefinition([Import] Gis.MapWindow mapWindow, [Import] IProjectManager projectMgr, [Import] Core.Events.IEventManager eventMgr)
        {
            InitializeComponent();

            this.eventMgr   = eventMgr;
            this.projectMgr = projectMgr;
            this.mapWindow  = mapWindow;

            var map = this.mapWindow.GetMap();

            map.MapFrame.LayerAdded   += MapFrame_LayerAdded;
            map.MapFrame.LayerRemoved += MapFrame_LayerRemoved;

            this.valleyName = "";
            this.riverName  = "";

            this.eventMgr.AddListener(this);
        }
예제 #6
0
        public MapWindow([Import] Core.Events.IEventManager eventMgr, [Import] IProjectManager projectMgr)
        {
            InitializeComponent();

            this.eventMgr   = eventMgr;
            this.projectMgr = projectMgr;

            this.curResultsSet     = null;
            this.resultsGroup      = null;
            this.map.Legend        = this.legend;
            this.map.GeoMouseMove += map_GeoMouseMove;

            this.toolItems = new List <Core.Window.IToolbarItem>();
            SetupToolItems();

            SetupColors();

            this.eventMgr.AddListener(this);
        }
예제 #7
0
 public ImportLayer([Import] Core.Events.IEventManager eventMgr)
 {
     this.eventMgr = eventMgr;
     this.eventMgr.AddListener(this);
 }
예제 #8
0
 public OpenProject([Import] Core.Events.IEventManager eventMgr, [Import] IApplicationConfig appConfig)
 {
     this.eventMgr  = eventMgr;
     this.appConfig = appConfig;
     this.menuItems = new List <string>();
 }
예제 #9
0
 public SnapEdits([Import] Core.Events.IEventManager eventMgr)
 {
     this.eventMgr = eventMgr;
     this.eventMgr.AddListener(this);
 }
예제 #10
0
 public NewProject([Import] Core.Events.IEventManager eventMgr, [Import] IProjectManager projectMgr)
 {
     this.eventMgr   = eventMgr;
     this.projectMgr = projectMgr;
 }
예제 #11
0
 public AddDataset([Import] Core.Events.IEventManager eventMgr)
 {
     this.eventMgr = eventMgr;
     this.eventMgr.AddListener(this);
     IsChecked = false;
 }