예제 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CoordinateSystemPicker"/> class.
        /// </summary>
        /// <param name="cat">The cat.</param>
        public CoordinateSystemPicker(ICoordinateSystemCatalog cat)
            : this()
        {
            if (cat == null)
            {
                SelectByList.Enabled = SelectByCoordSysCode.Enabled = SelectByEPSGCode.Enabled = ValidateWKT.Enabled = false;

                SelectByWKT.Enabled = SelectByWKT.Checked = true;
            }
            else
            {
                CoordinateCategory.Items.Clear();
                CoordinateCategory.Items.AddRange(cat.Categories);
            }

            _cat = cat;
        }
예제 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CoordinateSystemPicker"/> class.
        /// </summary>
        /// <param name="cat">The cat.</param>
        public CoordinateSystemPicker(ICoordinateSystemCatalog cat)
            : this()
        {
            if (cat == null)
            {
                SelectByList.Enabled = SelectByCoordSysCode.Enabled = SelectByEPSGCode.Enabled = ValidateWKT.Enabled = false;

                SelectByWKT.Enabled = SelectByWKT.Checked = true;
            }
            else
            {
                CoordinateCategory.Items.Clear();
                CoordinateCategory.Items.AddRange(cat.Categories);
            }

            _cat = cat;
        }
 public LocalNativeCoordinateSystemCategory(ICoordinateSystemCatalog parent, string name)
     : base(parent, name)
 {
 }
예제 #4
0
 public HttpCoordinateSystemCategory(ICoordinateSystemCatalog parent, string name)
     : base(parent, name)
 {
 }
 public LocalNativeCoordinateSystemCategory(ICoordinateSystemCatalog parent, string name)
     : base(parent, name)
 {
 }
예제 #6
0
 public HttpCoordinateSystemCategory(ICoordinateSystemCatalog parent, string name)
     : base(parent, name)
 {
 }
예제 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CoordinateSystemCategory"/> class.
 /// </summary>
 /// <param name="parent">The parent.</param>
 /// <param name="name">The name.</param>
 protected CoordinateSystemCategory(ICoordinateSystemCatalog parent, string name)
 {
     m_name  = name;
     _parent = parent;
 }
예제 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CoordinateSystemCategory"/> class.
 /// </summary>
 /// <param name="parent">The parent.</param>
 /// <param name="name">The name.</param>
 protected CoordinateSystemCategory(ICoordinateSystemCatalog parent, string name)
 {
     m_name = name;
     _parent = parent;
 }
예제 #9
0
 public CoordinateSystemBrowserDialogPresenter(ICoordinateSystemBrowserView view, ICoordinateSystemCatalog cat)
 {
     _view           = view;
     _catalog        = cat;
     _view.OkEnabled = false;
 }
 public CoordinateSystemBrowserDialogPresenter(ICoordinateSystemBrowserView view, ICoordinateSystemCatalog cat)
 {
     _view = view;
     _catalog = cat;
     _view.OkEnabled = false;
 }