Examples of DirtyChangedEvent


Examples of edu.stanford.bmir.protege.web.shared.DirtyChangedEvent


    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);
        }
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.shared.DirtyChangedEvent

    }

    private void setDirty() {
        if (!dirty) {
            dirty = true;
            fireEvent(new DirtyChangedEvent());
        }
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.shared.DirtyChangedEvent


    private void setDirty(boolean dirty, EventStrategy eventStrategy) {
        this.dirty = dirty;
        if(eventStrategy == EventStrategy.FIRE_EVENTS) {
            fireEvent(new DirtyChangedEvent());
            if (isWellFormed()) {
                ValueChangeEvent.fire(this, getValue());
            }
        }
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.shared.DirtyChangedEvent

        return PrimitiveDataEditorGinjector.INSTANCE.getEditor();
    }

    @UiHandler("propertyField")
    protected void propertyFieldValueChanged(ValueChangeEvent<Optional<OWLPrimitiveData>> event) {
        fireEvent(new DirtyChangedEvent());
        ValueChangeEvent.fire(this, getValue());
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.shared.DirtyChangedEvent

    }


    @UiHandler("valueField")
    protected void valueFieldValueChanged(ValueChangeEvent<Optional<OWLPrimitiveData>> event) {
        fireEvent(new DirtyChangedEvent());
        ValueChangeEvent.fire(this, getValue());
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.shared.DirtyChangedEvent

    }


    private void setDirty(boolean dirty) {
        this.dirty = dirty;
        fireEvent(new DirtyChangedEvent());
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.shared.DirtyChangedEvent

    private void handleDelete(ValueEditor<O> editor) {
        removeEditor(editor);
        ensureBlank();
        dirty = true;
        fireEvent(new DirtyChangedEvent());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.