/// <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) { }
public HttpCoordinateSystemCategory(ICoordinateSystemCatalog parent, string name) : base(parent, name) { }
/// <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; }
public CoordinateSystemBrowserDialogPresenter(ICoordinateSystemBrowserView view, ICoordinateSystemCatalog cat) { _view = view; _catalog = cat; _view.OkEnabled = false; }