RadLayoutManager (Project project) { final String defaultLayoutManager = GuiDesignerConfiguration.getInstance(project).DEFAULT_LAYOUT_MANAGER; if (defaultLayoutManager.equals(UIFormXmlConstants.LAYOUT_GRIDBAG)) { return new RadGridBagLayoutManager(); } else if (defaultLayoutManager.equals(UIFormXmlConstants.LAYOUT_FORM)) { return new RadFormLayoutManager(); } else { return new RadGridLayoutManager(); } }