Esempio n. 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;
        }
Esempio n. 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)
 {
 }
Esempio n. 4
0
 public HttpCoordinateSystemCategory(ICoordinateSystemCatalog parent, string name)
     : base(parent, name)
 {
 }
 public LocalNativeCoordinateSystemCategory(ICoordinateSystemCatalog parent, string name)
     : base(parent, name)
 {
 }
 public HttpCoordinateSystemCategory(ICoordinateSystemCatalog parent, string name)
     : base(parent, name)
 {
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 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;
 }