コード例 #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
ファイル: MapWindow.cs プロジェクト: nilsoberg2/rvrmeander
        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
ファイル: SnapEdits.cs プロジェクト: nilsoberg2/rvrmeander
 public SnapEdits([Import] Core.Events.IEventManager eventMgr)
 {
     this.eventMgr = eventMgr;
     this.eventMgr.AddListener(this);
 }
コード例 #10
0
ファイル: NewProject.cs プロジェクト: nilsoberg2/rvrmeander
 public NewProject([Import] Core.Events.IEventManager eventMgr, [Import] IProjectManager projectMgr)
 {
     this.eventMgr   = eventMgr;
     this.projectMgr = projectMgr;
 }
コード例 #11
0
ファイル: AddDataset.cs プロジェクト: nilsoberg2/rvrmeander
 public AddDataset([Import] Core.Events.IEventManager eventMgr)
 {
     this.eventMgr = eventMgr;
     this.eventMgr.AddListener(this);
     IsChecked = false;
 }