public void decorate(@NotNull MetaModel model) { String name = getName(); model.decorate0(this, name); for (Property<RadViewComponent> childProperty : myChildren) { model.decorate(childProperty, name + "." + childProperty.getName()); } }
@Override public Property<RadViewComponent> createForNewPresentation( @Nullable Property parent, @NotNull String name) { CompoundProperty property = createForNewPresentation(name); List<Property<RadViewComponent>> children = property.getChildren(null); for (Property<RadViewComponent> childProperty : myChildren) { children.add(childProperty.createForNewPresentation(property, childProperty.getName())); } return property; }