JComponent (RadComponent component, @NlsSafe String value, InplaceContext inplaceContext) { if (UIFormXmlConstants.LAYOUT_XY.equals(value)) { myCbx.setModel(new DefaultComboBoxModel<>(LayoutManagerRegistry.getLayoutManagerNames())); } else { myCbx.setModel(new DefaultComboBoxModel<>(LayoutManagerRegistry.getNonDeprecatedLayoutManagerNames())); } myCbx.setSelectedItem(value); return myCbx; }