The resulting object is not added to the catalog, it must be done by the calling code after the fact.
After the type is built the running list of attributes is cleared.
672673674675676677678679680681682
AttributeDescriptor att = build.buildDescriptor(attributeName); builder.add(att); return builder.buildFeatureType(); } /** * Return an array list with the features contained on the collection. *
129130131132133134135136137138139
return; } builder.remove(defaultGeometry); builder.add(geom); builder.setDefaultGeometry(geom.getLocalName()); dialog.setDefaultFeatureType(builder.buildFeatureType()); } @SuppressWarnings("unchecked") private GeometryDescriptor findGeometryType(ISelection selection) {