private boolean showSelectedColumnProperties() { if (myCustomPropertiesPanel != null && myPropertiesPanelContainer != null && IJSwingUtilities.hasFocus(myCustomPropertiesPanel.getComponent())) { return true; } if (myEditor == null) return false; GridCaptionPanel panel = myEditor.getFocusedCaptionPanel(); if (panel == null) return false; RadContainer container = panel.getSelectedContainer(); if (container == null) return false; final int[] selection = panel.getSelectedCells(null); myPropertiesPanelContainer = container; final CustomPropertiesPanel propertiesPanel = container.getGridLayoutManager().getRowColumnPropertiesPanel(container, panel.isRow(), selection); if (propertiesPanel == null) return false; showCustomPropertiesPanel(propertiesPanel); return true; }