if (e.isDeleteFlag()) {
Window.alert("You can't edit a deleted property");
return;
}
PropertyEditCallback callback = new PropertyEditCallback() {
@Override
public void onEditSuccess(PropertyInfo newInfo) {
if (e.getInfo() == null) { // new property, always set newInfo
e.setNewInfo(newInfo);
} else if (e.getInfo().equals(newInfo)) { // existing property, nothing changed, ignore change