Revision 44505 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/DefaultEditableFeatureType.java
DefaultEditableFeatureType.java | ||
---|---|---|
164 | 164 |
return this.add(name, type, true); |
165 | 165 |
} |
166 | 166 |
|
167 |
@Override |
|
168 |
public void removeAll() { |
|
169 |
while( !super.isEmpty() ) { |
|
170 |
super.remove(0); |
|
171 |
} |
|
172 |
this.fixAll(); |
|
173 |
} |
|
174 |
|
|
175 |
@Override |
|
176 |
public void addAll(FeatureType attributes) { |
|
177 |
super.addAll(attributes); |
|
178 |
this.fixAll(); |
|
179 |
} |
|
180 |
|
|
167 | 181 |
private EditableFeatureAttributeDescriptor add(String name, int type, boolean strongChanges) { |
168 | 182 |
DefaultEditableFeatureAttributeDescriptor attr = new DefaultEditableFeatureAttributeDescriptor(this, strongChanges); |
169 | 183 |
Iterator iter = this.iterator(); |
Also available in: Unified diff