public ModelData getModel() {
return model;
}
public Collection<String> getPropertyNames() {
Set<String> names = new FastSet();
for (String name : model.getPropertyNames()) {
names.add(name);
}
if (editing) {
if (modified != null) {
names.addAll(modified.keySet());
}
}
return names;
}