@NotNull @Override public Property[] getChildren(final RadComponent component) { ClientPropertiesManager manager = ClientPropertiesManager.getInstance(component.getProject()); ClientPropertiesManager.ClientProperty[] props = manager.getClientProperties(component.getComponentClass()); Property[] result = new Property[props.length]; for(int i=0; i<props.length; i++) { result [i] = new ClientPropertyProperty(this, props [i].getName(), props [i].getValueClass()); } return result; }
@NotNull @Override public Property[] getChildren(final RadComponent component) { ClientPropertiesManager manager = ClientPropertiesManager.getInstance(component.getProject()); List<ClientPropertiesManager.ClientProperty> props = manager.getClientProperties(component.getComponentClass()); Property[] result = new Property[props.size()]; for(int i=0; i<props.size(); i++) { result [i] = new ClientPropertyProperty(this, props.get(i).getName(), props.get(i).getValueClass()); } return result; }