/** Adds property descriptors to the panel */ protected void addDescriptors(List<Property> propDescriptors) { if (propertyInputPanels == null) { propertyInputPanels = new Vector<PropertyInputPanel>(propDescriptors.size()); } MutableAttributeSet properties = myConfigManager.getProperties(); for (Property property : propDescriptors) { PropertyInputPanel inputPanel = property.getInputPanel(); myPropertyPanel.add(inputPanel.getJPanel()); /* * Try to get the configurer's current value and apply it to the * input panels */ Object currentValue = properties.getAttribute(inputPanel.getName()); if (currentValue != null) { inputPanel.setValue(currentValue); } propertyInputPanels.add(inputPanel); } checkPropreties(); updateBounds(); }
private ConfigResult createConfigResult() { return new ConfigResult(myConfigManager.getProperties()); }