}
@Override
public void onSaveStateChanged(boolean isSaving, boolean isPending) {
bus.publishLocal(Constants.Topic.STORE + "/" + id + "/" + EventType.DOCUMENT_SAVE_STATE_CHANGED,
new DocumentSaveStateChangedEventImpl(bridge.getDocument(),
Json.createObject().set("isSaving", isSaving).set("isPending", isPending)));
}