void (RadContainer container, boolean isRow, int[] selectedIndices) { myContainer = container; myRow = isRow; if (selectedIndices.length != 1) { myTitleLabel.setText(UIDesignerBundle.message("grid.layout.column.selected.property", selectedIndices.length, isRow ? 0 : 1)); myWantGrowCheckBox.setEnabled(false); } else { mySelectedIndex = selectedIndices [0]; myTitleLabel.setText(UIDesignerBundle.message("grid.layout.column.property", isRow ? 0 : 1, selectedIndices [0])); myWantGrowCheckBox.setEnabled(true); GridLayoutManager layout = (GridLayoutManager) container.getLayout(); int sizePolicy = layout.getCellSizePolicy(isRow, selectedIndices [0]); myWantGrowCheckBox.setSelected((sizePolicy & GridConstraints.SIZEPOLICY_WANT_GROW) != 0); } }