private void ShowTableEditor(IMapLegendView view) { var layer = view.SelectedLayer as IFeatureLayer; _presenter.OpenTable(layer); _context.DockPanels.ShowDockPanel(TableEditorDockPanel.DefaultDockName, true, true); }
private void ShowTableEditor() { var layer = _context.Legend.SelectedLayer; if (layer.IsVector) { _presenter.OpenTable(layer); } var panel = _context.DockPanels.Find(DockPanelKeys.TableEditor); if (panel != null && !panel.Visible) { panel.Visible = true; } }