120121122123124125126127128129
private void setDirty(boolean dirty, EventStrategy eventStrategy) { this.dirty = dirty; if(eventStrategy == EventStrategy.FIRE_EVENTS) { fireEvent(new DirtyChangedEvent()); Optional<String> value = getValue(); ValueChangeEvent.fire(this, value); } }
6263646566676869
} private void setDirty() { if (!dirty) { dirty = true; fireEvent(new DirtyChangedEvent()); } }
260261262263264265266267268269270
private void setDirty(boolean dirty, EventStrategy eventStrategy) { this.dirty = dirty; if(eventStrategy == EventStrategy.FIRE_EVENTS) { fireEvent(new DirtyChangedEvent()); if (isWellFormed()) { ValueChangeEvent.fire(this, getValue()); } } }
5556575859606162
return PrimitiveDataEditorGinjector.INSTANCE.getEditor(); } @UiHandler("propertyField") protected void propertyFieldValueChanged(ValueChangeEvent<Optional<OWLPrimitiveData>> event) { fireEvent(new DirtyChangedEvent()); ValueChangeEvent.fire(this, getValue()); }
} @UiHandler("valueField") protected void valueFieldValueChanged(ValueChangeEvent<Optional<OWLPrimitiveData>> event) { fireEvent(new DirtyChangedEvent()); ValueChangeEvent.fire(this, getValue()); }
135136137138139140141
} private void setDirty(boolean dirty) { this.dirty = dirty; fireEvent(new DirtyChangedEvent()); }
236237238239240241242
private void handleDelete(ValueEditor<O> editor) { removeEditor(editor); ensureBlank(); dirty = true; fireEvent(new DirtyChangedEvent()); }